Skip to main content
100%

Fork of Fork of Svelte + D3 Starter

✓ Published1🌍 Public
Rreddysushma994@gmail.com
Last edited Mar 20, 2024
Created on Mar 20, 2024

This fork of the Svelte + D3 starter visualizes a force-directed network graph. It uses `d3.forceSimulation` with charge and center forces to position nodes, while links are drawn as straight lines between connected points. The simulation updates in real time via Svelte’s reactive bindings, and the canvas is rendered inside a Svelte component. The code imports D3 7.8.5 and initializes the app with a single `main` export, demonstrating a minimal integration of D3’s simulation API with Svelte’s lifecycle. The visualization shows an interactive node-link diagram without additional data source specified.

AI-generated description
MIT Licensed

Similar vizzes