Skip to main content
100%

ICE - 8 :Part-2 Task-1 Family Tree

✓ Published0🌍 Public
Mmomopng
Last edited Apr 3, 2022
Created on Apr 3, 2022
Forked from HTML Starter

This interactive family tree visualizes hierarchical relationships using a collapsible node layout, with each generation colored differently (red, yellow, green, orange) based on the `type` field in the JSON data. The D3.js v3 implementation uses `d3.layout.tree` to compute node positions and SVG elements for rendering, including custom rectangles with drop shadows, tooltips, and animated transitions on click. The view supports zoom and drag interactions through `d3.behavior.zoom`, while a breadth-first traversal dynamically adjusts the canvas dimensions based on tree depth and width.

AI-generated description
MIT Licensed

Similar vizzes