Skip to main content
100%

Fork of World Countries Tree

✓ Published2🌍 Public
AAbdouEnsaj
Last edited Jul 26, 2022
Created on Jul 26, 2022

This D3.js v5 visualization presents a hierarchical tree of world countries, organized by continent and subregion, using a horizontal icicle layout. The chart shows the geographic grouping of nations from a JSON data source, with each node labeled by country name and positioned by depth. The code leverages D3's `tree`, `hierarchy`, and `linkHorizontal` functions to compute the layout and draw connecting paths. Interactive pan and zoom are enabled through D3's `zoom` event, while text styling uses the Playfair Display font.

AI-generated description
MIT Licensed

Similar vizzes