This tutorial covers the very basics of using plotly.js for producing plots. In order to run the HTML locally, you will need a local HTTP server. I recommend using the one that comes with python 3.7 ...
The source HTML/JS files reside in plotly2/frontend/src and need to be served with all required dependencies by Parcel. The source HTML/JS files reside in plotly2/frontend/src and need to be bundled ...