Datasette plugin for visualizing data using Vega
  • JavaScript 65.4%
  • Python 15.7%
  • CSS 12.6%
  • HTML 6.3%
Find a file
2023-08-27 17:30:54 -04:00
.github/workflows add GHAs for GHP deploy, PyPI release 2023-08-27 17:30:52 -04:00
datasette_vega render on database ?sql=… pages 2023-08-27 17:06:15 -04:00
public add examples, fold into <details>, fix window.location.hash updating 2023-08-27 17:30:54 -04:00
src add examples, fold into <details>, fix window.location.hash updating 2023-08-27 17:30:54 -04:00
tests Added a test 2020-09-03 19:34:27 -07:00
.gitignore Packaged everything up as a Datasette plugin 2018-06-25 20:06:28 -07:00
datasette-vega.png Added screenshot to readme 2018-06-29 08:40:30 -05:00
LICENSE Added LICENSE file plus PyPI/license badge to README 2018-07-06 11:09:23 -07:00
package.json add GHAs for GHP deploy, PyPI release 2023-08-27 17:30:52 -04:00
README.md docs: Add contribution steps to README (fixes #43) 2022-03-07 19:20:34 -05:00
setup.py Release 0.7a0 2020-09-03 19:35:40 -07:00

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