ICE 8 - Family Tree_Ramakanth
✓ Published1🌍 Public
This example displays a family tree as a node-link diagram rendered in SVG. The data structure is created using `d3.stratify()` to convert the flat parent-child records, and the layout is computed with `d3.tree()`. Nodes are drawn as circles, with colors indicating depth: red for the root, blue for first-level children, and green for deeper descendants. Curved paths connect parent and child nodes, and each node is labeled with its name. The code uses D3 v5 within a React context, though the visualization itself is implemented directly in vanilla JavaScript.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed