Skip to main content
Public

Share visualization

Loading preview…

network

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

network

0
SSai Hemanth Babu Sunkari
Last edited Apr 3, 2024
Created on Apr 2, 2024
Forked from Hello VizHub

This network graph visualizes the relationships between ten named individuals (John, Alice, Bob, etc.) using a force-directed layout. Nodes are rendered as orange circles with blue text labels, while links between them are drawn as black lines whose stroke width corresponds to a numeric `weight` attribute from the JSON data. The visualization uses the older `d3.layout.force()` API from d3.v2, which is loaded alongside d3.v4, to simulate physics with gravity, distance, and charge parameters. The SVG elements are updated on each tick of the force simulation, and nodes are draggable via the `force.drag` call.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed