Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Art tree!

Public visualization

Art tree!

0 stars0🌍 Public
KKurt J Nilsen
Last edited Aug 3, 2020
Created on Aug 3, 2020

This visualization renders a hierarchical tree of world regions and countries from a JSON dataset, with the root labeled “World” branching into continents and subregions. It presents the data as a horizontal tree layout, where each node represents a geographic entity. The code uses D3 v5’s `tree` and `hierarchy` functions to compute the layout, and `linkHorizontal` to generate curved SVG paths for the connecting links. The tree is sized to fill the browser window, and the SVG is updated dynamically.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed