🌍 Public
Viewing a saved revision (read-only)
5c019c933f634c86bd5b4b6e99d1a2bd
sreekar ice 8 1
This visualization displays a world map using an equirectangular projection, with countries rendered as black shapes with red outlines against a green sphere. The map is drawn as SVG paths generated by `d3.geoPath` and `geoEquirectangular`, using TopoJSON data from the world-atlas package. Hovering over any country changes its fill to yellow via the `.country:hover` CSS rule. The code relies on D3 v5’s `json`, `selectAll`, and `enter` methods to bind the geographic features to the DOM.
AI-generated description