Skip to main content
Public

Share visualization

Loading preview…

Fork of Radial Tree of Countries Hierarchy

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 Radial Tree of Countries Hierarchy

1
Ccheikh.m.m.thiaw@aims-senegal.org
Last edited Dec 5, 2024
Created on Dec 5, 2024

This radial tree visualization shows the hierarchical structure of world countries, organized by continent and subregion, with each country as a leaf node. The circle-packing layout positions nodes radially, and the code uses `d3.hierarchy` and `d3.cluster` to compute the layout, with `d3.zoom` enabling pan and zoom interactions on the SVG. Link paths are generated manually via a projection function, and text labels adjust rotation and anchor based on depth and angle, with font size scaled by depth.

AI-generated description

Radial Tree Visualization of Countries Hierarchy. Has Panning and Zooming interaction.

Adapted from Curran Kelleher’s Block "World Countries Hierarchy".

Comments

Sign in to join the discussion.

MIT Licensed