svelteplot
v0.14.2
Published
A Svelte-native data visualization framework based on the layered grammar of graphics principles.
Downloads
14,307
Maintainers
Readme
A Svelte-native visualization framework based on the layered grammar of graphics principles.
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 installRun the development server:
pnpm devOpen http://localhost:5173 in your browser.
Testing
Run unit tests:
pnpm lint
pnpm testYou should also run the visual regression tests:
pnpm test:visualThis will generate screenshots and compare them with the expected results.
pnpm vi:reportTo see the differences side by side you can open http://localhost:5173/__vr/report.html
