Iris Splom Example#

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


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

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

import holoviews as hv
from holoviews import opts
hv.extension('bokeh')

Declaring data#

from bokeh.sampledata.iris import flowers
from holoviews.operation import gridmatrix

ds = hv.Dataset(flowers)

grouped_by_species = ds.groupby('species', container_type=hv.NdOverlay)
grid = gridmatrix(grouped_by_species, diagonal_type=hv.Scatter)

Plot#

grid.opts(opts.Scatter(tools=['hover', 'box_select'], bgcolor='#efe8e2', fill_alpha=0.2, size=4))
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).