example-template-svelte-circle Svelte Themes

Example Template Svelte Circle

The “circle” example implemented in Svelte

Sample Flourish template: Svelte circle

This sample template demonstrates how to implement the circle example in Svelte. True to form, the generated template.js output is tiny: a mere 4k, compared to 38k for the original example using D3.

Use the Flourish SDK to try it out.

The main code file for the template is src/index.js and the app is src/App.svelte.

Top categories

Loading Svelte Themes