Skip to content
المشاريع

حول

Datasette plugin for visualizing data using Vega

تطوير الويب والتطبيقات

كيف تُقاس هذه الأرقام

النمو المقاس للنجوم

خلال 24 ساعة
٠
خلال 7 أيام
+١
خلال 15 يومًا
+٢
خلال شهر
جارٍ جمع السجل

تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.

README.md

الأصل

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

استكشف مشاريع مشابهة ومرتبطة

جارٍ التحميل…