This repo shows a few svelte graphs. It's based on @Rich_Harris own Pancake charts.
You can see this repo live at tomfa.github.io/svelte-graphs/
Install the dependencies...
yarn
Start the server...
yarn dev
Navigate to localhost:5000. You should see some charts running.
To create an optimised version of the app:
yarn build
You can run the newly built app with yarn start
. This uses sirv, which is included in your package.json's dependencies
so that the app will work when you deploy to platforms like Heroku.
This app is deployed using gh-pages
yarn deploy