Viewing a saved revision (read-only)
aaba5e2876104aa2b6fb70dd48755c9e
Fork of Fork of ICE-8 Family Tree
A family tree visualization renders hierarchical relationships as an interactive node-link diagram, with each family member displayed in a color-coded box with text for name, node type, and relation. Built with D3 v3, the layout uses `d3.layout.tree` to position nodes, and SVG rectangles and `foreignObject` elements render the node content, while links are drawn as paths with arrow markers. Clicking a node toggles its children’s visibility, and transitions animate nodes to new positions over 600 milliseconds. Data comes from a JSON structure containing nested family members, with tooltips providing additional details on hover.
AI-generated descriptionA demonstration of how to start using D3 version 6.