Earth Tree
✓ Published0🌍 Public
This example renders a hierarchical tree visualization of Earth and its continents, with countries as leaf nodes, using an SVG-based layout. The tree is generated with `d3.hierarchy` and `d3.tree`, and links are drawn as horizontal paths via `d3.linkHorizontal`. Each node is a circle with a text label, styled through CSS classes. The data is hardcoded in the script, and the visualization uses D3 v7 within a plain HTML page.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed