Skip to main content
Public

Share visualization

Loading preview…

Tree Graph

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 Graph

2
Aamalli7433@gmail.com
Last edited Apr 8, 2025
Created on Apr 8, 2025
Forked from Tree 1

A hierarchical tree graph visualizes relationships among three countries, their health categories, and specific diseases. It uses a static, hand-coded dataset with India, France, and Brazil, each branching into two categories like Infectious or Respiratory, which further split into two diseases each. The code uses the d3.hierarchy and d3.tree layouts to compute node positions, and d3.linkVertical for curved link paths. Rendered as an SVG, circles and labels are color-coded by depth—orange for country, light blue for category, and light green for disease—with a legend clarifying the mappings.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed