Skip to main content
100%

Q2 ICE-8 assignment.

✓ Published0🌍 Public
Ssowjanya
Last edited Nov 1, 2025
Created on Nov 1, 2025
Forked from HTML Starter

This example renders a family tree as a hierarchical D3 visualization, showing three generations of nodes linked by curved paths. The tree layout positions each family member in a clear vertical structure, and circles are color-coded by generational depth: orange for grandparents, blue for parents, and green for children. The visualization uses `d3.hierarchy` to structure the data and `d3.tree` to compute the layout, with `d3.linkVertical` generating the connector paths between nodes. A legend explains the color scheme, and the SVG is built with `d3.select` and `.append` operations.

AI-generated description
MIT Licensed

Similar vizzes