Fork of Radial Tree of Countries Hierarchy
✓ Published0🌍 Public
This radial tree visualizes the hierarchical relationships between world countries, grouped by continent and subregion. Using D3.js v4, it renders a circular cluster layout where nodes are positioned by angle and radius. The visualization reads a nested JSON file and uses `d3.cluster` to compute positions, `d3.hierarchy` to process the tree structure, and `d3.zoom` to enable panning and zooming interactions. The code uses `project()` for polar-to-Cartesian conversion and styles text with different font sizes and rotations based on depth.
AI-generated descriptionRadial Tree Visualization of Countries Hierarchy. Has Panning and Zooming interaction.
Adapted from Curran Kelleher’s Block "World Countries Hierarchy".
MIT Licensed