🌍 Public
Fork of Circles with D3
This example demonstrates two distinct D3.js visualizations: an interactive network graph and a hierarchical family tree, both built from the same underlying dataset of people and relationships. The network graph uses D3’s `forceSimulation` with `forceLink`, `forceManyBody`, and `forceCenter` to position nodes based on connections, while the family tree uses `d3.tree` and `d3.stratify` to arrange the same individuals into a clear parent-child hierarchy. Both visualizations render as SVGs, with nodes, links, and labels styled via CSS and updated dynamically through a tick handler.
AI-generated descriptionMIT Licensed
Comments
Sign in to join the discussion.