Skip to main content
Public

Share visualization

Loading preview…

Fork of 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

Fork of Family Tree

0
Yyaswanthsen
Last edited Mar 26, 2023
Created on Mar 26, 2023
Forked from Family Tree

This fork of a family tree visualization uses D3 v6 to display hierarchical relationships among a set of characters. The D3 `stratify()` API constructs the tree structure from parent-child links, while `d3.tree()` calculates the layout. Nodes are rendered as colored SVG circles, with colors indicating generation depth, and are animated via D3's `transition()` API. The connections between nodes are drawn as lime-green paths. The embedded text labels are placed directly on each circle using SVG text elements.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed