🌍 Public
Viewing a saved revision (read-only)
96d11f64e1ee41149e8ea3d1775a88b4
Fork of World Map with D3.js!
This example displays a world map as an SVG graphic, with each country rendered as a green path with black outlines. Hovering over a country changes its fill color to orange, providing basic user feedback. The visualization uses D3 v5 functions such as `select`, `json`, `geoPath`, and `geoEquirectangular` for the projection, while TopoJSON’s `feature` method converts the loaded world-atlas countries-110m.json data into GeoJSON features for rendering.
AI-generated description