Fork of FZ_ICE8_Q2_FamilyTree
✓ Published1🌍 Public
This example displays a four-generation family tree as a horizontal node-link diagram. It uses a hierarchical data structure with d3.hierarchy and the d3.tree layout to compute node positions, while d3.linkHorizontal generates the curved connector paths. Each generation is distinguished by shape and color—circles for the great grandparent, squares for grandparents, diamonds for parents, and triangles for children—with name labels positioned to the right of each node. The visualization is rendered as SVG using D3 v7.
AI-generated descriptionMIT Licensed