Family Tree
✓ Published0🌍 Public
A family tree visualization renders hierarchical relationships as an SVG diagram. Colored circles mark each person, with blue, yellow, and orange indicating their depth in the tree, while curved paths connect parents to children. The example uses D3 v5, but notably relies on the missing `d3.stratify` and `d3.tree` APIs, which are not part of the standard D3 library. The code manually positions nodes and links using the x and y coordinates from those undefined functions, with hard-coded data listing individuals and their parents.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed