Skip to main content
100%

Activity 8 Map

✓ Published0🌍 Public
Vvineelaramulapalli32
Last edited Jul 17, 2023
Created on Jul 17, 2023
Forked from Hello VizHub

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 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