Familytree
✓ Published0🌍 Public
A family tree diagram visualizes hierarchical relationships among named nodes, with generations distinguished by color (yellow, pink, skyblue, orange). The example uses D3 v6’s `d3.stratify()` to build the hierarchy from flat parent-child data, then `d3.tree()` to compute node positions. SVG circles and text labels render each entry, while paths between nodes animate in with `transition()`, drawing lime-colored connections over one second.
AI-generated descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.
MIT Licensed