Skip to main content
100%

Family Tree

✓ Published0🌍 Public
Bbrindapotluri
Last edited Apr 4, 2022
Created on Apr 4, 2022
Forked from Hello VizHub

A family tree visualization renders hierarchical relationships from a JSON data structure. The D3.js v3 layout algorithm positions nodes in a tree layout, with each family member displayed as a colored rectangle containing their name. Clicking a node collapses or expands its children, triggering smooth animated transitions. The visualization uses SVG elements, D3's `d3.layout.tree()`, and `d3.behavior.zoom()` for panning and zooming, with jQuery handling interactions and tooltips that appear on hover.

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