Skip to main content
Public

Share visualization

Loading preview…

Fork of Fork of Svelte + D3 Starter

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Fork of Fork of Svelte + D3 Starter

1
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

Comments

Sign in to join the discussion.

MIT Licensed