Iris splom example¶
Download this notebook from GitHub (right-click to download).
URL: http://bokeh.pydata.org/en/latest/docs/gallery/iris_splom.html
Most examples work across multiple plotting backends, this example is also available for:
In [1]:
import holoviews as hv
from holoviews import opts
hv.extension('bokeh')
Declaring data¶
In [2]:
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¶
In [3]:
grid.opts(opts.Scatter(tools=['hover', 'box_select'], bgcolor='#efe8e2', fill_alpha=0.2, size=4))
Out[3]:
Download this notebook from GitHub (right-click to download).