Skip to main content
100%

Svelte D3 Starter

✓ Published0🌍 Public
CChris Bushong
Last edited Nov 9, 2021
Created on Nov 9, 2021
Forked from HTML Starter

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 description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes