🌍 Public
World Countries Tree
This visualization displays a hierarchical tree of world countries, organized by continent and then by subregion. The tree layout uses a horizontal orientation, with country names rendered as text nodes that decrease in font size with increasing depth. The code employs D3 v5 APIs including `tree`, `hierarchy`, `linkHorizontal`, and `zoom` to construct the SVG visualization, with data loaded from a JSON file containing the regional groupings.
AI-generated descriptionMIT Licensed
Comments
Sign in to join the discussion.