Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

papa- Family tree

Public visualization

papa- Family tree

0 stars1🌍 Public
Bbhargavarathod
Last edited Apr 5, 2022
Created on Apr 4, 2022
Forked from HTML Starter

This visualization displays a family tree using a hierarchical layout, with each person represented as a colored circle and connected by curved green paths. The color of each circle indicates the generation depth, from orange for the root ancestor to violet and slateblue for descendants. The code uses d3.stratify to structure the flat parent-child data, d3.tree to compute the layout, and SVG circle, path, and text elements to render the nodes, links, and names. The React framework hosts the D3 v5 visualization.

AI-generated description

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

See also React Starter.

Comments

Sign in to join the discussion.

MIT Licensed