Skip to main content
100%

wejdan map

✓ Published1🌍 Public
Jjody-otbi
Last edited May 23, 2022
Created on May 23, 2022

This interactive visualization displays a hierarchical tree of world regions and countries, branching from continents down to individual nations. The tree layout positions parent nodes with centered labels while child countries extend outward with left-aligned text, using font size to indicate depth. Built with D3.js v5, the code employs `d3.tree`, `d3.hierarchy`, and `d3.linkHorizontal` to generate the SVG paths and text elements from a nested JSON dataset. Users can pan and zoom the map via `d3.zoom`, with a teal stroke connecting the hierarchical structure.

AI-generated description
MIT Licensed

Similar vizzes