Activity 8 Map
✓ Published0🌍 Public
This example displays an interactive world map using a light green landmass and sky blue ocean. It loads geographic data from the world-atlas TopoJSON collection, converts it to GeoJSON with the `feature` function, and renders countries via `d3.geoPath` and `d3.geoEquirectangular`. Users can pan and zoom using D3’s `zoom` event, while hovering highlights countries in maroon through CSS.
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