Skip to main content
Public

Share visualization

Loading preview…

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

Famil Tree

0 stars5Public
SSnigdha6698
Last edited Apr 3, 2022
Created on Apr 2, 2022
Forked from Family Tree

This visualization shows a family tree with colored circles representing individuals and lines connecting parents to their children. The data is hardcoded as a list of parent-child relationships, and the tree layout is computed using D3's `d3.stratify()` and `d3.tree()` functions. Rendered as an SVG with animated transitions, nodes are drawn as circles styled with pink fills and blue strokes, while text labels appear inside each circle. The animation uses D3's `.transition().duration()` to smoothly draw connections and reveal nodes over time.

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