Family tree - trial
✓ Published0🌍 Public
This family tree visualization displays a hierarchical genealogy with names and birth years, using a horizontal tree layout where each node represents a family member and links show parent-child relationships. The example builds an interactive SVG graphic using D3 v5 APIs including `d3.tree`, `d3.hierarchy`, `d3.linkHorizontal`, and `d3.zoom`. It loads family data from an external JSON file, with text labels whose font size decreases at deeper levels. The visualization supports panning and zooming through the zoom behavior, while ancestor nodes are centered and descendants are left-aligned.
AI-generated descriptionMIT Licensed