World Countries Tree
This data-visualization example displays a hierarchical tree of world countries, organized by continent and subregion, based on a nested JSON dataset. Rendering as an SVG, the tree layout uses D3 v5’s `tree()` and `hierarchy()` functions, with `linkHorizontal()` for connecting parent-child nodes. Interactive pan and zoom are enabled via d3’s `zoom()` behavior, while text labels display country names with font sizes that vary by depth, and links are styled with a teal stroke.