Black Lives Matter. Please consider donating to Black Girls Code today.

Event+Select on 2 Bar Plots

Screen Shot 2020-03-28 at 3.25.25 PM

I have created a bar figure with 2 traces that have the same x-axis values.
I would like to use the clickmode= 'event+select' feature on the layout to highlight the bar traces.
However, I would like to sync the 2 bar plots so that when you click one, the other one with same x index (date) also gets automatically highlighted.
Would there be any way to do this?

@chriddyp, @Emmanuelle, I’m wondering if you could please help on the question I have above?