Skip to main content
100%

world countries tree

✓ Published0🌍 Public
Wwyh1029
Last edited Apr 8, 2020
Created on Apr 8, 2020
Forked from blank canvas

This visualization shows the hierarchical organization of world countries, arranged as a horizontal tree with continents branching into subregions and then individual nations. The layout positions child nodes to the right of their parent categories, with text labels displayed at varying font sizes based on depth level. Built with D3 v5, the code uses `d3.tree()` and `d3.hierarchy()` to compute the tree structure, `d3.linkHorizontal()` for the connecting paths, and loads country data from a JSON file. The visualization is rendered as SVG, with paths and text elements styled using CSS.

AI-generated description

世界各国家树状图

MIT Licensed

Similar vizzes