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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file datasette-plot-0.1.0.tar.gz.

File metadata

  • Download URL: datasette-plot-0.1.0.tar.gz
  • Upload date:
  • Size: 109.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for datasette-plot-0.1.0.tar.gz
Algorithm Hash digest
SHA256 f53de0a222b9daa00e31727ec153eee33c20595cc7bcf67ccd780f5a2da4a268
MD5 71b23097630842e6a4282db570872909
BLAKE2b-256 b9aeadecc1443dc08784c4d0349b595e9ecd1bfef4c06390a5950dea83f691bd

See more details on using hashes here.

File details

Details for the file datasette_plot-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for datasette_plot-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 088eabe1424b4529282da2d6ab4886344fed07b44f6e118dbfe8cbcb598cc91f
MD5 73ad283a1a706c0a5109cf50128f97af
BLAKE2b-256 8502a4b4d5fa3e2e305f20b967ebe53249ccea23d680dff17daffc552641770b

See more details on using hashes here.

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