World Countries Hierarchy
✓ Published2🌍 Public
This visualization displays a hierarchical tree of world countries, organized by continent and subregion, using a radial dendrogram layout. The D3.js code loads a JSON dataset and applies `d3.cluster()` and `d3.linkRadial()` to position nodes and draw curved links. Country names are rendered as rotated text labels, with font sizes scaled by tree depth via `d3.scaleSqrt()`. The visualization includes zoom and pan functionality through `d3.zoom()`, with styling applied via custom CSS for path strokes and text shadows. The rendering uses SVG elements within a fixed full-screen viewport.
AI-generated description<iframe width="560" height="315" src="https://www.youtube.com/embed/jfpV7OBptYE?rel=0" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>
[World Countries Hierarchy](https://bl.ocks.org/curran/1dd7ab046a4ed32380b21e81a38447aa)
[Radial Dendrogram](https://observablehq.com/@d3/radial-dendrogram)
MIT Licensed