🌍 Public
Viewing a saved revision (read-only)
b305522b47904a958f71e4a64bd4a9a4
World countries tree
This example shows a hierarchical tree of world countries, organized by continent and subregion, using a tidy tree layout. The visualization uses a horizontal dendrogram where nodes are labeled with country names, and links are drawn with D3's `linkHorizontal` path generator. The code imports functions like `tree`, `hierarchy`, and `zoom` from the `d3` module, and loads data from a JSON file. Text styling includes a custom Spirax font and white text shadow for readability.
AI-generated descriptionAn example including some commonly used features of SVG.