Skip to main content
Public

Share visualization

Loading preview…

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 Svelte + D3 Starter

1
Rreddysushma994@gmail.com
Last edited Mar 6, 2024
Created on Mar 6, 2024

This example visualizes a dataset using a force-directed graph layout, displaying nodes as circles positioned by physics simulation. It shows how data points relate through computed spatial arrangement. The implementation uses Svelte for component rendering and D3’s `d3.forceSimulation` for the underlying physics, with forces for centering, collision, and linkage. The code imports `App.svelte` and mounts it into a target container, relying on D3’s global library from the VizHub configuration. The rendering approach is SVG-based, as indicated by the use of Svelte’s templating and D3’s manipulation functions. No specific data source is hardcoded, suggesting the dataset is external or generated within the component.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed