Skip to main content
Public

Share visualization

Loading preview…

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

tree ice 8

0
SSai Hemanth Babu Sunkari
Last edited Apr 3, 2024
Created on Apr 2, 2024
Forked from Circles with D3

This example displays a hierarchical family tree as a node-link diagram rendered in SVG using D3.js v5. The visualization uses `d3.hierarchy` and `d3.tree` to compute the layout from nested JavaScript data objects. Each node is represented by a circle whose radius corresponds to a numeric `value` property, while link strokes and circle fills derive color from the `level` field, and circle borders use the `type` field. Text labels show each person’s name, positioned to the left for internal nodes and right for leaves. The code manually constructs curved link paths with `d` string templates rather than using a curve generator.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed