ICE8_Family Tree
✓ Published1🌍 Public
A family tree visualization displays hierarchical relationships among named individuals, rendered as an interactive SVG diagram with animated expansion and collapse of branches. Built with D3.js v3 and jQuery, the code uses the `d3.layout.tree` algorithm to compute node positions from the JSON data, then draws rectangular nodes connected by labeled links with directional arrows. Node colors correspond to a `type` field (e.g., type1, type3), and the visualization supports zooming, dragging, and tooltips via D3 behaviors and custom CSS styling, with all tree data defined in the `data-example.json` structure.
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