Activity 8 Map
✓ Published0🌍 Public
This example shows an interactive world map built with D3 v5 and TopoJSON, using an equirectangular projection to render countries as SVG paths. The map applies sky-blue ocean and light-green land colors, with hover highlighting in maroon. It supports zoom and pan through D3’s zoom behavior, and loads geographic data from the world-atlas countries-110m.json file. The code demonstrates local ES6 module imports, including a custom `myMessage` module, alongside UNPKG-hosted D3 and TopoJSON libraries.
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