World Countries Tree(Dendogram)
✓ Published2🌍 Public
This dendrogram visualizes the hierarchical structure of world countries, organized by continent and subregion, using a left-to-right tree layout. It renders each node as a text label with horizontal curved links, with font size decreasing by depth. The code uses D3 v5’s `tree`, `hierarchy`, and `linkHorizontal` APIs on an SVG, with zoom functionality via `d3.zoom`. Data comes from a static JSON file, and labels are styled with Roboto font and a white text shadow for readability.
AI-generated descriptionMIT Licensed