World Country Tree
✓ Published0🌍 Public
The World Country Tree visualizes a hierarchical classification of countries by continent and region using a horizontal tree layout. It renders nested links and labels based on the JSON data structure. The code uses D3.js APIs including `d3.tree`, `d3.hierarchy`, `linkHorizontal`, and `d3.zoom` to create an interactive SVG visualization that supports panning and zooming. Text sizes decrease with tree depth for readability.
AI-generated descriptionAn example to make tree graph using D3.js.
MIT Licensed