Skip to main content
100%

D3 Course Code Along - Art Tree

✓ Published0🌍 Public
Rrenenadorp
Last edited Jun 29, 2020
Created on Jun 29, 2020

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
MIT Licensed

Similar vizzes