World Countries Tree
✓ Published0🌍 Public
This visualization shows the hierarchical structure of world countries, organized by continent and then by subregion. The tree layout arranges continent names at the root, followed by regional groupings, with individual countries as leaf nodes. The code uses d3.tree(), d3.hierarchy(), and d3.linkHorizontal() to compute and draw the layout, while d3.zoom() enables panning and zooming. The hierarchical data comes from an external JSON file, and text styling incorporates the Playfair Display font with varying font sizes based on depth.
AI-generated descriptionMIT Licensed