responsive-line-sveltekit

Responsive Line Sveltekit

Responsive line chart with SvelteKit

Responsive Line Chart (in ✨SvelteKit✨)

https://responsive-line-sveltekit.netlify.app/

The original React component was created by Sam Selikoff at Build UI. It's a great writeup and code that can be found here.

Screenshot of app running with 3 charts resizing responsively

Follow up could be experimenting with applying this technique in Observable's Plot library or incorporating AM4 data reduction if necessary.

Running the example

Online on Stackblitz,

https://stackblitz.com/~/github.com/jzavala-gonzalez/responsive-line-sveltekit

Or locally after cloning this repository:

npm install
npm run dev

Top categories

Loading Svelte Themes