Art Tree
✓ Published0🌍 Public
This visualization shows a hierarchical tree of world regions and countries, with the global structure flowing from a root "World" node through continents and subregions down to individual nations. The tree layout uses a horizontal orientation, where parent-child connections curve gently between levels, creating a branching structure that resembles an abstract botanical form. The code imports `select`, `json`, `tree`, `hierarchy`, and `linkHorizontal` from D3 v6, then applies the `tree()` layout to position nodes and generates curved link paths using `linkHorizontal()` with swapped x and y coordinates. Data comes from a static JSON file containing the geographic hierarchy, rendered as SVG paths that fill the entire browser viewport.
AI-generated descriptionMIT Licensed