Skip to content
프로젝트

소개

Datasette plugin for visualizing data using Vega

웹 및 앱 개발

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
+1
in 15 days
+2
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

datasette-vega

PyPI License

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

Datasette Vega interface

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

관련 프로젝트 살펴보기

불러오는 중…