Date slider to slice data, not change view

Hello All.

Is it possible to use the slider to include more data in the range to trace? Right now I have a day’s worth of data that is being made into a bubble plot. I would like to be able to add a slider that would add/remove date filters from the data (Display data from today and yesterday, or from last week until now).

From what I have put together the slider changes the view and doesn’t update the underling data in the manner I am trying to achieve. Is it possible to do this or would I need to use Dash?

Thanks for the assistance.

This should be possible within plotly.js using

Wanna share a code snippet of what you’ve attempted so far to help us help you?