Family Tree
✓ Published1🌍 Public
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 descriptionMIT Licensed