Iris Example#

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


URL: https://docs.bokeh.org/en/2.4.1/docs/gallery/iris.html

Most examples work across multiple plotting backends, this example is also available for:

import holoviews as hv

hv.extension('matplotlib')
hv.output(fig='svg')

Defining data#

from bokeh.sampledata.iris import flowers
ds = hv.Dataset(flowers)
points = ds.to(hv.Points, ['petal_length', 'petal_width'], groupby='species').overlay()

Plot#

points.opts(legend_position='right')
This web page was generated from a Jupyter notebook and not all interactivity will work on this website. Right click to download and run locally for full Python-backed interactivity.

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