Skip to content

svelteplot/svelteplot

Repository files navigation

SveltePlot

License Tests

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

SveltePlot logo

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