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

0
AAamir Hameed mir
Last edited May 26, 2024
Created on May 26, 2024

This radial tree visualization displays a hierarchical organization of countries grouped by continents and subregions, with each country name positioned along circular branches radiating from a central "World" node. The code uses d3.hierarchy and d3.cluster to compute the tree layout, then projects node positions into polar coordinates for the radial arrangement. SVG paths with bezier curves connect parent and child nodes, while text labels employ font sizing based on depth and rotation for smaller branches. Panning and zooming are enabled through d3.zoom, applied to an SVG group containing all links and labels.

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