Skip to main content
100%

World Countries Tree

✓ Published1🌍 Public
NNikalculus
Last edited Feb 10, 2020
Created on Feb 10, 2020

This visualization displays the hierarchical structure of world countries organized by continent and region, rendered as a horizontal tree layout. The D3.js code uses `d3.tree`, `d3.hierarchy`, and `d3.linkHorizontal` to compute node positions and draw curved links from the hierarchical JSON data. Each country name appears as SVG text with font size decreasing by depth, while pan and zoom are enabled through `d3.zoom` on the entire SVG group.

AI-generated description
MIT Licensed

Similar vizzes