This repo provides examples on generating interactive plots (e.g. using Plotly), and subsequently interacting with these plots in a static HTML context (such as deploying to GitHub Pages).
- Git clone this repository
pip install .
Render the plots as HTML files
python src/interactive_html_plots/main.py
Render the ReST files in the docs directory as HTML files
-
sphinx-build docs/_source docs/_build -
View the landing page
docs/_build/html/index.htmlin a web browser
This repo includes a GitHub Action to automatically perform the above steps, and serves them to https://bpowell122.github.io/interactive_html_plots/, any time a new commit is pushed to the main branch.
interactive-html-plots is distributed under the terms of the GPLv3 license.