Fork of World Countries Tree1
✓ Published0🌍 Public
This visualization presents a radial tree layout of world countries, hierarchically organized by continent and subregion, with each country displayed as a text label. The tree expands from a central "World" root node, with connecting curved links rendered as green paths. Using D3 v5, the code employs `d3.tree()`, `d3.hierarchy()`, and `d3.linkHorizontal()` to compute and draw the layout. Labels are sized inversely to their depth in the hierarchy, with deeper nodes rendered smaller. Data comes from a local `data.json` file, and the SVG output is styled using the Playfair Display font.
AI-generated descriptionMIT Licensed