Svelte D3 Starter
✓ Published0🌍 Public
This example demonstrates a minimal Svelte application that uses two-way data binding to display the sum of two numeric inputs in real time. It shows how Svelte’s reactive declarations update the displayed calculation whenever either input changes. The code imports a Svelte component from `src/App.svelte` and mounts it to the DOM via `new App({ target: document.body })`. The component uses Svelte’s `bind:value` directive on the number inputs, while the project includes D3 v7.1.1 as a dependency but does not invoke any D3 functions here.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed