Skip to main content
100%

Activity8_Task5_WorldMap

✓ Published1🌍 Public
Rrikhitakoganti12
Last edited Jul 5, 2023
Created on Jul 5, 2023
Forked from Hello VizHub

This world map visualization displays countries as light green polygons with indigo borders on a skyblue spherical backdrop, using an equirectangular projection. It renders topojson country boundaries from the world-atlas dataset via d3.geoPath and d3.geoEquirectangular. The map supports zooming through d3.zoom, while CSS hover styling changes country fill colors to maroon. All shapes are drawn as SVG paths in a single svg element.

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