Activity8_Task5_WorldMap
✓ Published1🌍 Public
This world map visualization displays countries as light green polygons with indigo borders on a skyblue spherical backdrop, using an equirectangular projection. It renders topojson country boundaries from the world-atlas dataset via d3.geoPath and d3.geoEquirectangular. The map supports zooming through d3.zoom, while CSS hover styling changes country fill colors to maroon. All shapes are drawn as SVG paths in a single svg element.
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