World Countries Tree
✓ Published0🌍 Public
This visualization presents the hierarchical structure of world countries organized by continent and subregion, using a horizontal tree layout with curved links connecting parent and child nodes. The code employs d3.tree and d3.hierarchy to process the nested JSON data, while d3.linkHorizontal generates the path shapes for the tree branches. Text labels display each geographic region and country name, with font size decreasing at deeper hierarchy levels. The visualization includes zoom functionality through d3.zoom, allowing users to explore the full dataset interactively within an SVG canvas.
AI-generated descriptionMIT Licensed