Countries Tree
✓ Published0🌍 Public
This example visualizes a hierarchical dataset of countries organized by continent and subregion as a dendrogram. The tree layout positions all nodes in a horizontal cluster, with country names displayed at varying font sizes based on depth using the d3.cluster and d3.hierarchy APIs. Curved link paths are generated with d3.linkHorizontal, while d3.zoom enables panning and scaling of the SVG canvas. The data is loaded from a JSON file and rendered entirely in SVG with custom styling.
AI-generated descriptionMIT Licensed