🌍 Public
Viewing a saved revision (read-only)
f25a9209cc8c43739a434161b340993c
Activity 8 Map
This example shows an interactive world map with zoom and pan capabilities. The map renders countries as light green SVG paths with indigo borders on a sky-blue sphere background, and countries turn maroon when hovered. The visualization uses D3 v5’s `geoEquirectangular` projection with `geoPath` to draw geographic features, and `zoom` for user interaction. TopoJSON is used to convert world-atlas country data into GeoJSON features.
AI-generated descriptionA demonstration of how to start using D3 version 6.