simonw/datasette-vega
关于
Datasette plugin for visualizing data using Vega
网站与应用开发实测星标增长
- 24小时
- 0
- 7天
- +1
- 15天
- +2
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文datasette-vega
A Datasette plugin that provides tools for generating charts using Vega.

Try it out in your browser using Datasette Lite, which installs the latest release of this plugin and charts fatalities per airline from 2000 to 2014, using FiveThirtyEight's airline safety data.
To add this to your Datasette installation, install the plugin like so:
pip install datasette-vega
The plugin will then add a "Show charting options" button to every Datasette table and SQL query page.
If you are publishing data using the datasette publish command, you can
include this plugin like so:
datasette publish cloudrun mydatabase.db --service=my-service --install=datasette-vega
Development
The JavaScript is bundled using esbuild. Install the dependencies and build the plugin's static assets into datasette_vega/static/ like this:
npm install
npm run build
This needs to run before building the Python package, since the bundled assets are not checked into the repository.
To work on the charting interface against the demo page in public/index.html, with automatic rebuilds:
npm run dev
Then open http://localhost:3000/.
To run the Python tests (after npm run build):
uv run pytest
探索相关项目
加载中…