example-template-svelte-draggable-circle Svelte Themes

Example Template Svelte Draggable Circle

A Svelte implementation of the “draggable circle” example

Sample Flourish template: Svelte draggable circle

This sample template demonstrates how to implement the draggable circle example in Svelte. True to form, the generated template.js output is tiny: a mere 6k, compared to 81k 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.html.

Top categories

Loading Svelte Themes