Fork of World Countries Tree
✓ Published0🌍 Public
This visualization shows a hierarchical tree of world countries, organized by continent and subregion, with each node labeled by country name. The tree layout positions nodes vertically by depth, and horizontal links connect parent and child nodes. The visualization uses D3 v5’s `tree` layout, `hierarchy` function, and `linkHorizontal` generator to compute and draw the structure. Text labels scale in font size inversely with depth, and the entire tree can be panned and zoomed via D3’s `zoom` behavior. Data comes from a JSON file with nested country groupings.
AI-generated descriptionMIT Licensed