import hvplot.pandas # noqa
scatter
plots are a good first way to plot data with non continuous axes.
from bokeh.sampledata.iris import flowers as df
df.sample(n=5)
df.hvplot.scatter(x='sepal_length', y='sepal_width', by='species',
legend='top', height=400, width=400)
As for most other types of hvPlot plots, you can add fields to the hover display using the hover_cols
argument. It can also take "all" as input to show all fields.
df.hvplot.scatter(x='sepal_length', y='sepal_width', by='species',
legend='top', height=400, width=400,
hover_cols=["species", "sepal_length", "sepal_width", "petal_width"])