Skip to main content
Public

Share visualization

Loading preview…

ICE8 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

ICE8 Family Tree

0
Sshiiva-surya
Last edited Apr 11, 2023
Created on Apr 10, 2023
Forked from ICE8 Family Tree

This example renders a family tree using D3.js v5’s `d3.stratify()` and `d3.tree()` layout, displayed as SVG circles connected by cubic Bézier paths. Node colors indicate hierarchical depth—red for root, blue for depth 1, green for depth 2, and yellow for depth 3—with each node labeled by name. The input is a flat array of parent-child pairs, which the code transforms into a hierarchical structure before positioning and drawing the tree on an 900×900 SVG canvas.

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