I try to do interactive bar chart with hvplot, but I would like to color negative values.
I tried using cmap but it colors positives values negatively too.
I try to do interactive bar chart with hvplot, but I would like to color negative values.
I tried using cmap but it colors positives values negatively too.
Copyright © 2021 Jogjafile Inc.


You can use a compositional HoloView plot for this.
Note: sorry I can't post images directly yet as this is my first entry on stackoverflow, but this link will show you the plot result https://i.stack.imgur.com/bnoFg.png
Here the full code below, you can adapt it to your dataframe :