interactive world map with d3
✓ Published0🌍 Public
This interactive world map displays country outlines colored in light green over a blue sphere, with hover highlighting in red. It utilizes D3 v6’s `geoNaturalEarth1` projection and `geoPath` to render the map, while TopoJSON loads geographic data from the world-atlas package. Zooming is enabled via `d3.zoom`, and country names are joined from a TSV file. The visualization renders as SVG elements.
AI-generated descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.
MIT Licensed