🌍 Public
Viewing a saved revision (read-only)
066cb7aaaec14f5aa919f2a98b9aed74
Social Network graph
A social network graph displays nine people as yellow circles with pink outlines, connected by black links whose thickness reflects a numeric weight. The layout is computed with d3.layout.force using gravity, charge, and distance parameters, while d3.json loads the graph data from an external JSON file. Nodes are draggable via force.drag, and each node includes an orange text label showing the person's name. The visualization uses SVG rendering within an 800×500 pixel canvas, with the tick handler updating link coordinates and node transforms during simulation.
AI-generated description