world countries tree
✓ Published1🌍 Public
This visualization presents a hierarchical tree of world countries, regions, and subregions as an SVG graphic. It uses a D3.js tree layout to position the data in a radial or icicle-like structure, with horizontal links connecting parent and child nodes. The code imports functions like `tree`, `hierarchy`, and `linkHorizontal` from D3 v5, loads the hierarchical data from a local `world.json` file, and renders the connections as SVG `path` elements.
AI-generated descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.
MIT Licensed