Skip to main content
100%

ICE 8 - Family Tree of Amarnath

✓ Published0🌍 Public
AAmar09nath
Last edited Apr 3, 2022
Created on Apr 3, 2022

This example displays a family tree using a hierarchical layout, with nodes colored by depth (black, green, or red) and connected by steel-blue cubic Bézier curves. It uses D3 v5’s `d3.stratify()` to structure flat parent-child data and `d3.tree()` to compute positions, rendering circles, paths, and labels in an SVG. The data comes from a small hardcoded array of family member names, and the visualization is embedded in a React project with a yellow background.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes