Skip to main content
Public

Share visualization

Loading preview…

Fork of Family Tree ICE-8

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 ICE-8

0
Ffouzanuddin
Last edited Apr 5, 2022
Created on Apr 5, 2022
Forked from Family Tree ICE-8

This example shows a family tree rendered as a hierarchical node-link diagram using D3.js v5 and SVG. The code uses `d3.hierarchy` and `d3.tree` to compute node positions from nested data, with `d3.select` creating SVG groups, circles, and text labels. Curved link paths are drawn with a cubic Bézier command, while each node’s circle radius encodes a numeric value, and stroke and fill colors come from the data’s `type` and `level` fields. The data is embedded directly in the script as a JavaScript object.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed