🌍 Public
Viewing a saved revision (read-only)
8809d2a6296c437d8eafc9b35d89bfc6
Fork of World Map with D3.js!
This example renders a world map as an SVG using D3 v5 and TopoJSON. It projects country boundaries from the world-atlas dataset with `geoEquirectangular` and draws them via `geoPath`. The map includes a blue sphere backdrop and green countries that turn orange on hover through CSS. It uses `select`, `json`, and `feature` to load and convert the TopoJSON data into GeoJSON features for display.
AI-generated description