Linked tap selections in stacked bar plots

I have two stacked 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?


I would look to the tap stream or or Linked brushing

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 :

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