🌍 Public
Viewing a saved revision (read-only)
489b32a5f69e487bb000e11396d8f89a
Fork of World Countries Tree
This visualization shows a hierarchical tree of world countries organized by continent and subregion, with the nation names rendered as text nodes connected by curved links. It uses a d3.tree layout with a horizontal link generator to position the hierarchy in an SVG canvas, and d3.zoom enables panning and zooming across the full-width and height layout. The data comes from a static JSON file, and the text size decreases with depth to emphasize regional groupings. The code leverages d3.select, d3.hierarchy, d3.linkHorizontal, and d3.event, with custom Playfair Display typography and a stroke color for the paths.
AI-generated description