Skip to content
Projects

About

Svelte-native plotting framework based on the grammar of graphics

Design & Media

How these counts are measured

Measured star growth

in 24h
0
in 7 days
+2
in 15 days
+1
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.md

Original
SveltePlot - the best visualizations are built with Svelte

A Svelte-native visualization framework based on the layered grammar of graphics principles.

License Tests Netlify Status


SveltePlot is a Svelte-native visualization framework based on the layered grammar of graphics principle. It's API is heavily inspired by Observable Plot. Created by Gregor Aisch.

Development

Clone the repo and install dependencies:

git clone [email protected]:svelteplot/svelteplot.git
cd svelteplot
pnpm install

Run the development server:

pnpm dev

Open http://localhost:5173 in your browser.

Testing

Run unit tests:

pnpm lint
pnpm test

You should also run the visual regression tests:

pnpm test:visual

This will generate screenshots and compare them with the expected results.

pnpm vi:report

To see the differences side by side you can open http://localhost:5173/\_\_vr/report.html

Explore related projects

Loading…