🌍 Public
Viewing a saved revision (read-only)
73e0c7da10a74851a0247ccd419dc4f6
My social Network graph
This example visualizes a small social network as a force-directed graph, with seven people connected by weighted links. The SVG rendering uses D3 v4’s `d3.layout.force` to position nodes and edges, applying gravity, distance, and charge parameters. Nodes are draggable circles with name labels, and link thickness reflects the `weight` property from `graphFile.json`. The code also references D3 v2, though the primary layout comes from the v4 API.
AI-generated descriptionSee also React Starter.