Radial Tree of Countries Hierarchy
This radial tree visualization displays the hierarchical structure of world countries, organized by continent and subregion. The graphic uses a circular layout where the root node "World" sits at the center, with continents, subregions, and individual countries radiating outward as labeled branches. The D3.js v4 code employs the `d3.cluster()` layout algorithm to position nodes in a radial pattern, with curved links connecting parent and child nodes. Interactive panning and zooming are implemented using `d3.zoom()`, while text labels are dynamically rotated and positioned based on node depth and angle. The visualization reads hierarchical data from a JSON file containing the UN country classification system.
AI-generated descriptionRadial Tree Visualization of Countries Hierarchy. Has Panning and Zooming interaction.
Adapted from Curran Kelleher’s Block "World Countries Hierarchy".