Skip to main content
100%

Familytree

✓ Published0🌍 Public
SSwapna1915
Last edited Jul 17, 2023
Created on Jul 17, 2023
Forked from Hello VizHub

A family tree diagram visualizes hierarchical relationships among named nodes, with generations distinguished by color (yellow, pink, skyblue, orange). The example uses D3 v6’s `d3.stratify()` to build the hierarchy from flat parent-child data, then `d3.tree()` to compute node positions. SVG circles and text labels render each entry, while paths between nodes animate in with `transition()`, drawing lime-colored connections over one second.

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