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

Is it possible to alter chart based on mouse scroll?

I’m seeing this example:

And I wondered if this is possible in Dash where scrolling the mouse alters how much of the chart is shown.

This isn’t possible right now but it would be a very cool component plugin ( The component would need to have a property that represents the scroll position of the window and update that position on the window scroll event.

As an alternative, you could try using a Dash Slider for a very similar effect.