On this page

Reactive Plots#

Download this notebook from GitHub (right-click to download).


The iris dataset is a standard example used to illustrate machine-learning and visualization techniques. Here, we show how to use Panel to create a dashboard for visualizing the dataset. The Panel dashboard uses hvPlot to create plots and Param objects to create options for selecting the X and Y axis for the plot. First, let’s import the packages we are using:

import hvplot.pandas
import param
import panel as pn

from bokeh.sampledata.iris import flowers

pn.extension(sizing_mode="stretch_width")