Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Tree

Public visualization

Viewing a saved revision (read-only)

b124c9341cba49c59d0e627ba6ee3cb2

Fork of Tree

0 stars1🌍 Public
Aadithiarikatla@gmail.com
Last edited Nov 8, 2025
Created on Nov 8, 2025
Forked from Tree

A compact tree diagram visualizes a four-level hierarchy: the root node "World" branches into continents, which split into countries. The code defines custom node shapes—a blue rounded rectangle for the root, purple circles for continents, and green ellipses for countries—with each node labeled. Using the d3.hierarchy and d3.tree layouts with a vertical link generator, the graph is centered horizontally on the page. The visualization is rendered as SVG with distinct colors per level, sourced from a static inline JavaScript data structure.

AI-generated description