🌍 Public
Viewing a saved revision (read-only)
4c2473dca2e54b2d809bc0545fbfb70c
second
This tree visualization displays a hierarchical dataset of cities organized by continent and country, with population values shown on hover. It loads city data from a CSV URL with automatic fallback to built-in sample data. The implementation uses D3 v7’s `d3.hierarchy`, `d3.tree`, and `d3.linkVertical` to compute and draw the layout, then appends SVG circles and text labels with color-coding by tree depth.
AI-generated description