World Countries Tree
✓ Published0🌍 Public
This visualization shows the hierarchical organization of world countries by continent and region, displayed as a horizontal tree layout. The tree is built from a JSON data file that groups countries into subregions like Southern Asia and Western Asia, with all labels rendered in the Playfair Display typeface. It uses D3 v5’s `tree`, `hierarchy`, and `linkHorizontal` generators to compute the layout and draw curved links, while the `zoom` behavior enables panning and scaling of the entire SVG viewport. Text size decreases with each level of depth.
AI-generated descriptionDemonstrates fundamental DOM manipulation using D3.js by making a smiley face whose eyebrows move.
MIT Licensed