Skip to main content

Observable Plot Datasette plugin

Project description

datasette-plot

PyPI Changelog Tests License

A Datasette plugin for making data visualizations with Observable Plot .

Installation

Install this plugin in the same environment as Datasette.

datasette install datasette-plot

Usage

Once installed, table pages and SQL query pages will have a new "Show plot" button that will open the datasette-plot.

Current, datasette-plot only supports a few visualization marks from Plot, including dot, line, area, bar, and more.

Your browser does not support the video tag.

Use the Link to this plot URL to share visualization with others. The link will have your plot options encoded in the URL.

Development

To set up this plugin locally, first checkout the code. Then create a new virtual environment:

cd datasette-plot
python3 -m venv venv
source venv/bin/activate

Now install the dependencies and test dependencies:

pip install -e '.[test]'

To run the tests:

pytest

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

datasette-plot-0.1.0.tar.gz (109.5 kB view hashes)

Uploaded Source

Built Distribution

datasette_plot-0.1.0-py3-none-any.whl (109.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page