I have a 3D plot made using PlotlyJS.jl. This is done using Jupyter notebooks. When the plot is saved to a png it is only saved as a snapshot of the position of the plot at the time of saving.
What is the best way to save a plot made with PlotlyJS.jl in order to be able to have the plot be interactive on a webpage? I.e. a github ReadMe or a Medium article? Does PlotlyJS support this?
In particular, try `savefig(p, “myfig.html”) to get a “web page”.
Thank you. Have that existing file already. I am sort of stopped at uploading that anywhere.
My main intent is to preserve the interactiveness of this html file without creating a new website to display it if possible.
a github ReadMe
Some alternatives might be to use
GitHub Pages as a linked web site; or, demonstrate the interactivity with an animated gif (see this thread: Animation using PlotlyBase)
Medium editor supports embedding content from third-party services, such as Twitter, Github gists, and more.
While editing your story, go to a new line and paste the URL of the content ...