A Svelte-native data visualization framework based on the layered grammar of graphics principles.
npm install svelteplot_A Svelte-native visualization framework based on the layered grammar of graphics principles._
!License !Tests 
---
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.
Clone the repo and install dependencies:
``bash`
git clone git@github.com:svelteplot/svelteplot.git
cd svelteplot
pnpm install
Run the development server:
`bash`
pnpm dev
Open http://localhost:5173 in your browser.
Run unit tests:
`bash`
pnpm lint
pnpm test
You should also run the visual regression tests:
`bash`
pnpm test:visual
This will generate screenshots and compare them with the expected results.
`bash``
pnpm vi:report
To see the differences side by side you can open http://localhost:5173/\_\_vr/report.html