🌍 Public
Viewing a saved revision (read-only)
4a3177f37b7144b693ca47d22637ffc0
D3 Course Code Along - Art Tree
Rrenenadorp
Last edited Jun 29, 2020
Created on Jun 29, 2020
Forked from D3 Course Code Along - World Countries Tree
This example displays a hierarchical tree of world regions and countries, rendered as an SVG with branching paths and nodes. The visualization uses D3 v5’s `tree` layout and `hierarchy` to structure the data, with `linkHorizontal` generating the curved connecting paths. The `data.json` file provides the geographic nesting, while the full viewport is sized dynamically using `document.body` dimensions. Paths are styled with a teal fill and white strokes, though the code does not explicitly render node labels or interactive behaviors.
AI-generated description