import hvplot.pandas # noqa from bokeh.sampledata.autompg import autompg_clean as df table = df.groupby('yr').mean() table.head() table.hvplot.bar(y='mpg', height=500) table = df.groupby(['yr', 'origin']).mean() table.head() table.hvplot.bar(stacked=True, height=500, legend='top_left') table.hvplot.bar(stacked=False, height=500, rot=60)