World Countries Tree
✓ Published1🌍 Public
A hierarchical tree diagram displays the world's countries organized by continent and subregion, with each country as a leaf node. The visualization uses d3.tree and d3.hierarchy to compute the layout, then renders horizontal links between nodes as SVG paths via d3.linkHorizontal. Data is loaded asynchronously from a JSON file using d3.json, and the SVG canvas is sized to fill the browser viewport. The chart emphasizes the geographic grouping of nations without displaying node labels or additional interaction.
AI-generated descriptionMIT Licensed