Art Tree
✓ Published3🌍 Public
The Art Tree example displays a hierarchical tree layout of world geographical regions and countries, with data derived from a nested JSON structure. The visualization uses D3 v5's `tree` and `hierarchy` functions to compute node positions, and renders horizontal curved links between parent and child nodes via `linkHorizontal` paths in SVG. The tree spans the full browser viewport, with its dimensions set from `document.body.clientWidth` and `clientHeight`. Data loading is handled through the `json` method, with the resulting hierarchy laid out using `treeLayout` before drawing.
AI-generated descriptionMIT Licensed