Skip to main content
100%

Data Tree

✓ Published2🌍 Public
MMichael Milano
Last edited Jan 9, 2020
Created on Jan 9, 2020
Forked from smiley face

This visualization shows a hierarchical tree of world regions and countries, with countries nested under their respective continents and subregions. The tree is rendered with SVG paths connecting parent and child nodes, using a horizontal layout where text labels display country names at sizes that decrease with depth. The code uses D3 v5’s `tree`, `hierarchy`, and `linkHorizontal` APIs to compute the layout, and includes zoom functionality via `d3.zoom`. Data comes from a static JSON file containing the geographic hierarchy.

AI-generated description

A bare minimum HTML page.

See also React Starter.

MIT Licensed

Similar vizzes