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
.