Skip to main content
100%

world contries tree

✓ Published0🌍 Public
JJenny
Last edited Jul 13, 2019
Created on Jul 11, 2019
Forked from blank canvas

This visualization displays the hierarchical structure of world countries, organized by continent (e.g., Asia) and subregion (e.g., Southern Asia), as a horizontally oriented tree. The D3.js library is used to parse the hierarchical JSON data, compute the tree layout with `tree()` and `hierarchy()`, and render the connecting lines with `linkHorizontal()`. Text labels for each country are positioned at their respective nodes, with font size scaled by depth. The rendering is done as an SVG, and the entire view supports pan and zoom through D3's `zoom()` event handler.

AI-generated description
MIT Licensed

Similar vizzes