🌍 Public
Viewing a saved revision (read-only)
a1f304d533354453884a076e7cda2b44
Fork of D3 Starter
This example displays a force-directed network graph of employee relationships, with nodes representing individuals and links showing parent-child connections. The visualization uses D3.js v7's `d3.forceSimulation` with `d3.forceLink` and `d3.forceManyBody` forces to position nodes, while `d3.forceCenter` keeps the layout centered. The code loads JSON data from a GitHub Gist, renders nodes as circles with name labels, and updates SVG positions during each simulation tick.
AI-generated description