Searching for a specific example on the plotly website

Good morning,

I’m looking for the code that can do this example that is present on the main plotly website at the end of the page :

Website : Jupyter notebook tutorial with Python
Example :

I also want to know if the same result is possible on plotly without using dash.

Thank you for your time and have a great night !

Anyone, please ?

It is an example on the main page, any admin on plotly has the answer ?