Linked tap selections in stacked bar plots

I have two stacked .hvplot.bar graphs that contain the same x axis and stacked categories but show different y values. I would like to link them and be able to highlight a particular category in one graph for a particular x value by tapping on it and have the analogous one in the other graph also highlighted … where highlighting is fading out all the other bars and categories. Is this possible?

Yes.

I would look to the tap stream or http://holoviews.org/reference/streams/bokeh/Tap.html or Linked brushing http://holoviews.org/user_guide/Linked_Brushing.html

But take a look at the Holoviews documentation. I think you will find some examples.

And feel to post some minimal code either working or partially working to get a discussion going.

Hi Marc,

I have created an example : https://pastebin.com/1MyD0b8u

Basically, data linking works if the bars are not stacked, but doesn’t work if they are.

regards
Matt