The following example of plotly: https://plot.ly/javascript-graphing-library/range-slider/
I want to use it to write a webpage, plotting some data and support adding notes by clicking, just as shown by the example in the url above. The problem is I don't know how to implement it. Only the code for the function is provided and I don't know how to run it. I copy them into a html file but see nothing.