Skip to main content
100%

Building a tree

✓ Published0🌍 Public
ZZhengyan Yu
Last edited Apr 24, 2020
Created on Apr 20, 2020
Forked from Blank Canvas

A hierarchical tree visualization displays world geography from the global root down to individual countries through intermediate regional groupings. The layout uses d3.tree and d3.hierarchy to compute node positions from JSON data, while d3.linkHorizontal generates curved paths between parent and child nodes. Node labels are rendered as SVG text with font sizes scaled inverse to node depth. The visualization incorporates d3.zoom for pan-and-zoom interactions within an SVG container.

AI-generated description
MIT Licensed

Similar vizzes