World Countries Tree
✓ Published0🌍 Public
This visualization displays a hierarchical tree of world countries organized by continent and subregion, using data from a nested JSON file. Each country is shown as a text label, positioned according to its depth in the hierarchy, with connecting paths. The D3 v5 library powers the layout, using `d3.tree()`, `d3.hierarchy()`, and `d3.linkHorizontal()` to compute positions and draw the SVG paths. Text labels are rendered with varying font sizes based on depth, and the entire tree can be zoomed and panned via `d3.zoom()`.
AI-generated descriptionMIT Licensed