Skip to content

moritzleidinger/svelteplot

 
 

Repository files navigation

SveltePlot

License Tests Netlify Status

SveltePlot logo

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 git@github.com: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

About

Svelte Plotting Framework

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 50.1%
  • Svelte 43.7%
  • JavaScript 5.3%
  • Other 0.9%