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 to change the initial rangeselector's selection?

I have a plot with a rangselector. When the page loads it always shows all the data. I would like it to show another range right after loading, e.g. 1 year or 1 month. How can I do that ?