URL: http://bokeh.pydata.org/en/latest/docs/gallery/iris.html

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


In [ ]:
import holoviews as hv
hv.extension('bokeh')

Defining data


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

Plot


In [ ]:
points.opts(legend_position='right', toolbar='above', width=400)