Skip to main content
100%

World Countries Tree

✓ Published1🌍 Public
Eent33
Last edited Jun 19, 2020
Created on Jun 19, 2020

This D3.js visualization shows the hierarchical structure of world countries, organized by continent and subregion, using an indented tree layout. The SVG rendering displays country names as text nodes connected by curved paths, with font size decreasing at each depth level to emphasize the hierarchy. The code uses `d3.json` to load the country data, `d3.tree` for layout, `d3.hierarchy` for nesting, and `d3.linkHorizontal` for the link paths. A custom `d3.zoom` event handler enables interactive pan and zoom of the entire visualization.

AI-generated description
MIT Licensed

Similar vizzes