How to turn multiple bars in selected mode on single click

Hello everyone !

First of all thanks for making Plotly, fantastic tool.

I canโ€™t figure out how to achieve the following: For my Bar Chart I want to click on an individual Bar and have it in selected mode along with other bars that share the same customdata.

(I want to do this because there is a relationship between bars in my data that is not easily understood otherwise)

Is this possible ?

Many thanks,
Ahmed