🌍 Public
Viewing a saved revision (read-only)
9a9365d777c5490b9e46aa11c1d102cb
Simplified Map
This example renders a simplified world map using SVG paths generated by d3.geoPath with an equirectangular projection. It loads TopoJSON data from a gist, converts it to GeoJSON with the topojson.feature API, and draws each country as a filled path with white borders. The visualization demonstrates a minimal React integration, where a useEffect hook fetches the data and D3 selects the existing SVG element to bind and render the geographical features.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.