Skip to main content
100%

Activity 8_Task5_1

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

This example displays an interactive world map with countries rendered in light green against a skyblue ocean background. The visualization uses D3’s `geoEquirectangular` projection and `geoPath` to draw geographic boundaries from the world-atlas GeoJSON dataset. Hovering over individual countries changes their fill to maroon. The map supports zooming through D3’s `zoom` event and `event.transform`, updating the SVG’s transform attribute. The styling comes from an external CSS file, and the code imports `feature` from TopoJSON to convert the dataset.

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