Pedigree Tree
Pedigree Tree shows family lineage as a horizontal dendrogram where parent nodes branch upward into their ancestors, with each person labeled by name, lifespan, and location. The layout uses d3.layout.tree with a custom separation function that spaces parent sets twice as far apart as individual parents. Leaf nodes extend with elbow paths beyond the main diagram to accommodate their labels. The SVG rendering loads hierarchical JSON data and displays it using D3 v3’s tree layout, with crisp-edged link paths and multiple text elements per node.
AI-generated descriptionA variation on the elbow dendrogram, though using the tree layout. A couple notes: a custom separation function is used so that the distance between sets of parents is half the distance between parents themselves; the tree layout draws the leaf nodes at the right extreme of the layout, so a large right margin is used to inset the leaf nodes; the leaf nodes also have a custom path (d.target.children is null).
In response to a Stack Overflow question.