import hvplot.pandas # noqa
hist
is often a good way to start looking at data to get a sense of the distribution. Similar methods include kde
(also available as density
).
from bokeh.sampledata.autompg import autompg_clean as df
df.sample(n=5)
When using by
the plots are overlaid by default. To create subplots instead, use subplots=True
.
df.hvplot.hist("weight", by="origin", subplots=True, width=250)