Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Circles with D3

Public visualization

Fork of Circles with D3

0 stars1🌍 Public
VVarun Gadde
Last edited Apr 2, 2024
Created on Apr 2, 2024
Forked from 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 description

Comments

Sign in to join the discussion.

MIT Licensed