Ben Chuanlong Du's Blog

It is never too late to learn.

Best Way of Using HoloViews

Comments

  1. DataFrame.hvplot (via the Python package hvplot) is the most convenient way to use HoloViews.

  2. If you want to use HoloViews directly, it is better to create a HoloViews.Dataset object and use it for visualization.

  3. The groupby option generates a plot with a dropdown list for interactively showing plots of different groups. You can overlay plots of different groups together on the same plot simplify by calling the .overlay()

Python Modules for Visualization

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

The website The Python Graph Gallery displays hundreds of charts, always providing the reproducible python code! It aims to showcase the awesome dataviz possibilities of python and to help you benefit …

Group-by Plots in HoloViews

There are many ways to achievie groupby in HolovViews.

  1. Directly use the groupby method of HoloViews objects!!!

  2. Use the method HoloMap to create a dictionary of parameters to HoloViews objects.

  3. Use the method dataset.to which has groupby option. However, it seems to me that this doesn't give me options to select which one to show. But with click and transparent parameters configured, you can achieve similar effect ...