🌍 Public
Viewing a saved revision (read-only)
80eacb598c524d44be932d0c60d5c6ad
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.