A proof-of-concept for authoring interactive visualization modules with Svelte and D3, while being able to wrap them as components in any JS framework via d3-rosetta.
Click on a circle to highlight it. Observe that the selected circle state persists across hot reloads (e.g. if you change a color). HT Matthias Stahl for the original example: Svelte + D3 Starter.