🌍 Public
Viewing a saved revision (read-only)
e8e544ff2eec4d08b4e4e15065c8cef1
Social Network Graph
This social network graph visualizes friendships among eight people, with nodes representing individuals and arrows indicating directed connections. The graph uses a force-directed layout via `d3.forceSimulation` with link, charge, collision, and center forces to position nodes dynamically. Rendering as SVG, the code assigns green circles, labels each node, and decorates links with arrow markers. Hovering over a node highlights it via CSS class changes, and users can drag nodes to rearrange the network, with link thickness reflecting a numeric value from the JSON data source.
AI-generated description