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.

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

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.0a1.tar.gz (109.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file datasette_plot-0.1.0a1.tar.gz.

File metadata

  • Download URL: datasette_plot-0.1.0a1.tar.gz
  • Upload date:
  • Size: 109.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.11

File hashes

Hashes for datasette_plot-0.1.0a1.tar.gz
Algorithm Hash digest
SHA256 47b0e1483b302d9c1a2e9b9748b1d59bea449e1f157cda0822902c125190b57e
MD5 e0893c1047b3c8903f12326e8d94aadb
BLAKE2b-256 dc46b6b2672f33acf21f2e9739a0355ebe4e18a405dc69c191524ee294c29695

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for datasette_plot-0.1.0a1-py3-none-any.whl
Algorithm Hash digest
SHA256 3cb2d9cb715df6fb75428388125c0ae74fd37eb329d955f48eeb32a4d3d65a60
MD5 47e3279e7329e2bbdfa35bbce6c92d78
BLAKE2b-256 92405fb5ad451ba542e64516ab8bf773378f5f30d972f54a3810182e728d9e76

See more details on using hashes here.

Supported by

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