Fork of Radial Tree of Countries Hierarchy
This radial tree visualization displays the hierarchical structure of world countries, organized by continent and subregion. It uses a circular layout where leaf nodes representing individual countries are positioned at the outer ring, with intermediate labels for continents and regions shown with larger fonts. The visualization supports interactive panning and zooming through the `d3.zoom` API, which updates an SVG group’s transform based on user gestures. The tree layout is computed using `d3.hierarchy` and `d3.cluster`, with links drawn via cubic Bézier curves and text labels rotated to follow the radial orientation. Data comes from a local JSON file (`data.json`) containing the full country hierarchy.
AI-generated descriptionRadial Tree Visualization of Countries Hierarchy. Has Panning and Zooming interaction.
Adapted from Curran Kelleher’s Block "World Countries Hierarchy".