Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Art Tree

Public visualization

Art Tree

0 stars0🌍 Public
OOleg
Last edited Nov 5, 2020
Created on Nov 5, 2020

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 description

Comments

Sign in to join the discussion.

MIT Licensed