bhargava- Family tree
✓ Published0🌍 Public
This family tree visualization uses a node-link diagram to display three generations of a family, with circles representing individuals and curved paths connecting parents to children. The tree layout is computed using the `d3.stratify()` and `d3.tree()` APIs from D3 v5, with circle colors determined by each node's depth in the hierarchy (red for roots, blue for middle generation, green for leaves). The data is hardcoded in the script, and the SVG rendering includes text labels for each person's name.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed