Datasette plugin for visualizing data using Vega
  • JavaScript 65.4%
  • Python 15.7%
  • CSS 12.6%
  • HTML 6.3%
Find a file
Ryan Williams c6d3de6ce2 fix npm start dev build
Work-around for "Module parse failed: Identifier directly after number" due to `const wait = 10_000;` in vega-embed: https://stackoverflow.com/a/67566183
2023-08-27 17:06:15 -04:00
datasette_vega Applied Black 2020-09-03 19:34:52 -07:00
public Fix leaking CSS bug (fix #15) and release 0.6.2 2018-07-28 17:13:14 -07:00
src Fix leaking CSS bug (fix #15) and release 0.6.2 2018-07-28 17:13:14 -07: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
.travis.yml Let's try using PYPI_PASSWORD as a secret setting instead, refs #10 2018-07-09 20:25:37 -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 fix npm start dev build 2023-08-27 17:06:15 -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