Fork of World Countries Tree
✓ Published0🌍 Public
This visualization displays a hierarchical tree of world countries organized by continent and region, with a root node labeled "World" branching down to individual nations. The code uses D3 v5's `tree` layout and `hierarchy` function to compute node positions, then renders horizontal links via `linkHorizontal` and country names as SVG text with font sizes scaled inversely by depth. The visualization reads from a data.json file and supports interactive panning and zooming through D3's `zoom` behavior, with a zoom group applied to the entire SVG canvas.
AI-generated descriptionMIT Licensed