Skip to main content
100%

Family Tree

✓ Published0🌍 Public
TTejaswi@3271
Last edited Apr 4, 2022
Created on Apr 3, 2022
Forked from Hello VizHub

This example displays a family tree as a hierarchical node-link diagram, with nodes colored by generation and green curved links connecting parents to children. The visualization renders in SVG and uses `d3.stratify()` to convert flat parent-child data into a hierarchy, then applies `d3.tree()` to compute the layout. Node circles, connecting paths, and name labels are appended to the SVG using data-bound selections, with custom bezier curves drawn for each link.

AI-generated description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.
MIT Licensed

Similar vizzes