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
LLeon
Last edited Dec 25, 2021
Created on Dec 25, 2021

A radial tree visualization displays the hierarchical structure of countries, organized by world region and subregion. The diagram, rendered as an SVG, places the root at the center with branches extending outward. Users can pan and zoom the view. The code uses the D3.js `d3.cluster` layout to position nodes based on angle and radius. It reads the hierarchy from a JSON file and uses `d3.hierarchy` to build the tree structure. Text labels are rotated and styled according to their depth in the tree.

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