🌍 Public
Viewing a saved revision (read-only)
890303bee6864919b2e414b2ded28897
World Countries Tree
This visualization presents a hierarchical tree of world countries, organized by continent and subregion. It uses a tidy tree layout to display the nested structure, with labels rendered in varying font sizes based on depth. The code builds the tree from a JSON data source using D3's `tree`, `hierarchy`, and `linkHorizontal` APIs, drawing connecting paths and text elements in an SVG. Pan and zoom functionality is added via D3's `zoom` and `event` utilities.
AI-generated description