🌍 Public
Viewing a saved revision (read-only)
5406080b660648c885243c0d601c23e0
world countries tree
This example shows a hierarchical tree of world countries, organized by continent and subregion, with each country name displayed as a text label. The visualization renders an SVG using D3.js v5, leveraging the `tree` and `hierarchy` layouts to compute node positions and `linkHorizontal` to draw curved paths between parent and child nodes. Data is loaded from a local JSON file, and text labels are offset with a dy attribute for readability.
AI-generated description