world countries
✓ Published0🌍 Public
This visualization displays a hierarchical tree of world countries, organized by continent and subregion, using a tidy tree layout that spreads nodes horizontally. It shows the geographic classification structure from the loaded `data.json` file, with country names rendered as text labels at varying font sizes based on depth. The implementation uses D3.js v5 APIs including `d3.json`, `d3.hierarchy`, `d3.tree`, and `d3.linkHorizontal` to compute and draw the tree paths as SVG elements. Pan and zoom interactions are enabled through `d3.zoom`, which applies transform updates to the main group element.
AI-generated descriptionDemonstrates fundamental DOM manipulation using D3.js by making a smiley face whose eyebrows move.
MIT Licensed