World Countries Tree Map
✓ Published1🌍 Public
This visualization shows the hierarchical structure of world countries organized by continent and subregion using a tree layout. The interactive chart displays country names as text labels positioned along curved horizontal links from the root node. Users can pan and zoom through the hierarchy using d3.zoom. The implementation uses d3.tree, d3.hierarchy, and d3.linkHorizontal to position nodes and generate paths, with Playfair Display font styling applied via text shadows.
AI-generated description- Constructing a node-link tree visualization
- adding text labels to the nodes
- using the margin convention
- tweaking label alignment and size
- panning and zooming
- using a custom font
// d3-heirarchy package // treeLayout : tree/ cluster // google fonts
MIT Licensed