datasette-vega/README.md

1.3 KiB

datasette-vega

PyPI License

A Datasette plugin that provides tools for generating charts using Vega.

Datasette Vega interface

Try out the latest master build as a live demo at https://datasette-vega-latest.datasette.io/ or try the latest release installed as a plugin at https://fivethirtyeight.datasettes.com/

To add this to your Datasette installation, install the plugin like so:

pip install datasette-vega

The plugin will then add itself to every Datasette table view.

If you are publishing data using the datasette publish command, you can include this plugin like so:

datasette publish now mydatabase.db --install=datasette-vega

Development

To contribute to this tool, first checkout the code.

git clone git@github.com:simonw/datasette-vega.git

Then, install dependencies

npm install

Then, you will be able to run a hot-reloading development server.

npm run start