Skip to main content
100%

world countries tree

✓ Published1🌍 Public
YYanxxx447
Last edited Jan 12, 2021
Created on Jan 12, 2021
Forked from BlankCanvas

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 description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.
MIT Licensed

Similar vizzes