Skip to main content
100%

Social Network graph

✓ Published0🌍 Public
SShreeti Upreti
Last edited Jul 8, 2022
Created on Jul 7, 2022
Forked from HTML Starter

This interactive social network graph shows nine named people (e.g., Aron, James, Harry) as green circles connected by lines, with link thickness proportional to a numeric weight. Nodes are draggable, and hovering over a circle reveals a pink tooltip displaying the person’s name. The visualization is rendered with D3 v4’s `d3.layout.force` simulation using gravity, distance, and charge parameters, with SVG elements for nodes and links. Data is loaded from an external `graph.json` file, which defines nodes by group and links with source/target indices plus weights. CSS styles link lines black and circles light green with an animated tick update.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes