Black Lives Matter. Please consider donating to Black Girls Code today.
Learn how to use COVID-19 data in open source Dash apps. Register for the Sept 23rd webinar with IQT!

How can I change the color of a particular range in historgram, without affecting other part of graph?

I want to change the color only for particular range in histogram.

There’s no easy way to do that at the moment.

I’d recommend overlaying a separate trace to get two distinct colors.

But how can I implemented on plotly_click event.

Thank you for the solution. It it is working fine now.