A Datasette plugin for making data visualizations with Observable Plot.
Install this plugin in the same environment as Datasette.
datasette install datasette-plot
Once installed, table pages and SQL query pages will have a new "Show plot" button that will open the
datasette-plot only supports a few visualization marks from Plot, including dot, line, area, bar, and more.
Link to this plot URL to share visualization with others. The link will have your plot options encoded in the URL.
To set up this plugin locally, first checkout the code. Then create a new virtual environment:
python3 -m venv venv
Now install the dependencies and test dependencies:
pip install -e '.[test]'
To run the tests: