🌍 Public
Viewing a saved revision (read-only)
9684a893b39246e282fd4911f63d2057
ice-8
This visualization displays a world map using an equirectangular projection, with white countries on a light blue ocean background that change to green on hover. The geographic data is loaded from the world-atlas countries-50m.json dataset and converted from TopoJSON to GeoJSON using the `feature` method. The map is rendered as SVG paths via D3’s `geoPath` and `geoEquirectangular` projection functions, with styling controlled by CSS selectors for the earth and country layers.
AI-generated descriptionA demonstration of how to start using D3 version 6.