World Countries Tree
✓ Published3🌍 Public
This hierarchical tree visualization displays the geographic organization of world countries, branching from continents down to sub-regions and individual nations. The data, loaded from a JSON file, is structured in a nested parent-child format. Using D3 v5 APIs, the code applies a `tree` layout and `hierarchy` function to process the data, then connects nodes with horizontal links and displays text labels. The visualization is rendered as an SVG, using the `linkHorizontal` generator to draw the tree paths.
AI-generated descriptionMIT Licensed