🚀 Gen 5 of the leading AI app deployment platform launches October 6. Click for the livestream.

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,