Family Tree
✓ Published0🌍 Public
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 descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.
MIT Licensed