Skip to main content
100%

Fork of World Countries Tree

✓ Published0🌍 Public
Llrakla
Last edited Dec 29, 2021
Created on Dec 29, 2021

This interactive visualization displays a hierarchical tree of world countries organized by continent and subregion, with each leaf node labeled by country name. The layout uses a horizontally-oriented tree structure where nodes are positioned based on depth and rendered as text elements with varying font sizes. Built with D3 v5, the visualization employs `d3.tree()` for layout computation, `d3.hierarchy()` for data structuring, and `d3.linkHorizontal()` for generating curved link paths between nodes. The SVG rendering includes zoom functionality via `d3.zoom()`, with data loaded from a JSON file containing the hierarchical country classification.

AI-generated description
MIT Licensed

Similar vizzes