Skip to main content
100%

network

✓ Published0🌍 Public
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
MIT Licensed

Similar vizzes