Skip to main content
100%

Earth Tree

✓ Published0🌍 Public
Aachyutanandmishra17@gmail.com
Last edited Apr 13, 2023
Created on Apr 11, 2023
Forked from HTML Starter

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 description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes