Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Fork of Svelte + D3 Starter

Public visualization

Viewing a saved revision (read-only)

f0e57491eb6d46b1bca77975568d3f3c

Fork of Fork of Svelte + D3 Starter

0 stars1🌍 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