Skip to main content
100%

Fork of ICE-8 (Family Tree)

✓ Published0🌍 Public
Bbhargavarathod
Last edited Mar 31, 2022
Created on Mar 31, 2022

This interactive family tree visualizes hierarchical relationships through a node-link diagram, where colored rectangles represent individuals and connecting lines show parent-child links. The visualization uses D3 v3 (d3.layout.tree) to compute a tidy tree layout, rendering nodes as SVG rectangles with hover tooltips and supporting click-to-expand/collapse interactions. Data is loaded from a JSON file containing a nested tree structure with different node types indicated by color coding. The implementation includes zoom and drag behavior through d3.behavior.zoom, with dynamic SVG dimensions calculated from tree depth and breadth to ensure all nodes fit within the viewport.

AI-generated description
MIT Licensed

Similar vizzes