Skip to main content
100%

World Countries Tree

✓ Published0🌍 Public
Mmin
Last edited Oct 18, 2019
Created on Oct 18, 2019

A hierarchical tree visualization displays the world’s countries, grouped first by continent and then by subregion, using a left-to-right layout. The D3 v5 code loads a JSON file and applies the `tree` and `hierarchy` layouts to position nodes, while `linkHorizontal` generates the connecting paths. Text labels, with font sizes decreasing by depth, are drawn for every node, and a zoom interaction via `d3.zoom` allows users to pan and scale the SVG graphic.

AI-generated description
MIT Licensed

Similar vizzes