Skip to main content
Public

Share visualization

Loading preview…

papa- Family tree

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportHTML, source ZIP

papa- Family tree

0 stars1Public
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