🌍 Public
Viewing a saved revision (read-only)
9bed42f5dac74ec79f12230a39b03f65
My Family Tree
This visualization displays a family tree as an interactive, collapsible hierarchy using D3.js v3. The tree presents family members as colored rectangular nodes, with each person’s name and type indicated by color-coding (e.g., type1 through type4). The layout uses `d3.layout.tree` to position nodes and links, with SVG rendering for the connections and nodes. Users can click nodes to collapse or expand branches, and the view supports zooming and panning via `d3.behavior.zoom`. The data comes from a local JSON file, and the visualization includes tooltips and animated transitions for node updates.
AI-generated description