Skip to main content
100%

Fork of Fork of Fork of Fork of Svelte + D3 Starter

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

This example visualizes a dynamic network of colored nodes connected by lines, with the layout evolving over time through physical simulation. The nodes drift and settle as forces repel them apart while links pull connected pairs together, creating an organic, clustered structure. Built with Svelte and D3, the code uses `d3.forceSimulation` with `d3.forceLink`, `d3.forceManyBody`, and `d3.forceCenter` to compute positions, while rendering each frame directly to the DOM through Svelte’s reactive updates. The dataset is generated procedurally with random nodes and edges, demonstrating a lightweight, interactive graph visualization.

AI-generated description
MIT Licensed

Similar vizzes