Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of D3 Starter

Public visualization

Fork of D3 Starter

0 stars0🌍 Public
Ssdarsi2404@gmail.com
Last edited Apr 9, 2025
Created on Apr 9, 2025
Forked from 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

Comments

Sign in to join the discussion.

MIT Licensed