Skip to main content
100%

World Countries Tree

✓ Published1🌍 Public
OOleg
Last edited Nov 5, 2020
Created on Nov 5, 2020
Forked from Blank Canvas

This example shows a static tree visualization of world countries organized hierarchically by continent and subregion, with all leaf nodes displayed as country names. It uses the D3.js version 6 `tree` layout and `hierarchy` functions to compute the structure from a JSON file, then renders horizontal links with `linkHorizontal` paths in SVG. Text labels are positioned by node coordinates, with font size scaling by depth, and the entire view supports pan and zoom via `d3.zoom`.

AI-generated description
MIT Licensed

Similar vizzes