Skip to main content
100%

Family Tree

✓ Published1🌍 Public
Uubl2
Last edited Mar 31, 2022
Created on Mar 31, 2022

This interactive D3.js v3 family tree visualizes hierarchical generational data from a JSON file, using colored nodes to distinguish four family types. The tree layout computes node positions, with SVG rectangles and foreignObject text blocks rendering each family member’s name. Animation transitions reposition nodes when the hierarchy updates, while zoom and drag behaviors allow panning and scaling via `d3.behavior.zoom`. Links and arrow markers connect parent-child relationships, and a collision-avoidance pass prevents overlapping nodes.

AI-generated description
MIT Licensed

Similar vizzes