Skip to main content
100%

World Countries Tree

✓ Published0🌍 Public
Ffkukcha
Last edited Nov 6, 2022
Created on Oct 30, 2022
Forked from HTML Starter

This interactive visualization displays the hierarchical organization of world countries, grouped by continent and subregion, using a tree layout that branches from a central root. The code constructs the tree structure from JSON data with `d3.hierarchy` and positions nodes using `d3.tree`, rendering curved vertical links with `d3.linkVertical` and labels as SVG text elements. Each country appears as a labeled point, with the tree expanding downward to reveal the nested geographic groupings.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes