Skip to main content
Public

Share visualization

Loading preview…

Family Tree

vizhub.com

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

Before sharing, review the publishing checklist.

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 & exportPNG, HTML, source ZIP

Family Tree

1
KKishen Patel
Last edited Apr 5, 2022
Created on Apr 5, 2022
Forked from World Map

This example displays a family tree as a hierarchical node-link diagram, with circles representing individuals and curved paths showing parent-child relationships. The color of each node indicates its generation depth, using red, blue, and green for successive levels. The code builds the structure from an array of parent-child pairs via `d3.stratify()`, then lays it out with `d3.tree()` and renders the result as SVG circles, paths, and text labels.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed