🌍 Public
Viewing a saved revision (read-only)
125d81f791e44b46bd3f5acea7d6d68a
Fork of Fork of World Map with D3.js!
This example displays a world map with countries rendered in pink and a purple sphere, using an equirectangular projection to show the entire globe. It uses D3.js v5 and TopoJSON to load geospatial data from the `world-atlas` package, and applies the `geoPath` and `geoEquirectangular` functions to generate SVG paths. Interactive highlighting changes a country’s fill color on hover.
AI-generated description