Fork of ICE 8 - Family Tree
This visualization displays a family tree as a node-link diagram, with circles representing individuals and curved paths connecting parents to their children. The tree layout is generated from nested data using the custom `d3.stratify()` and `d3.tree()` extensions, which compute node positions based on parent-child relationships. Node colors encode generational depth, with red for ancestors, blue for the middle generation, and green for descendants, while text labels show each person’s name. The SVG rendering is implemented in React, drawing all elements within an SVG container using D3’s selection and enter/append methods to create circles, paths, and labels.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.