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
NNita
Last edited May 2, 2021
Created on May 1, 2021

A radial tree diagram visualizes the hierarchy of world countries, grouped first by continent and then by subregion. The visualization uses a D3 v4 cluster layout, with SVG paths depicting connecting links and text labels for each country. The code employs `d3.hierarchy`, `d3.cluster`, and `d3.zoom` to enable panning and zooming of the entire diagram. Data is loaded from a local `data.json` file and rendered with a linear gradient of font sizes based on depth in the hierarchy.

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