Skip to main content
100%

Activity 8 Map

✓ Published0🌍 Public
Mmn0658
Last edited Jul 19, 2023
Created on Jul 19, 2023
Forked from Activity 8 Map

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 description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.
MIT Licensed

Similar vizzes