🌍 Public
Viewing a saved revision (read-only)
0650d72fd1eb44ff815bca0940ee9ab9
Create a family tree
This example builds a family tree visualization from a small dataset of parent-child relationships, using D3.js v5 and React. The tree structure is created with `d3.stratify()` and `d3.tree()`, which arranges nodes hierarchically, and the SVG rendering places circles for each family member connected by links. The data includes historical figures like ShahajiRaje and ShivajiRaje, with the resulting diagram displayed on a light gray background.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.