🌍 Public
Viewing a saved revision (read-only)
ccf9c3a9a18b443eb8887e4cbe94b9c6
Fork of Fork of Fork of World Map IC8
This example shows a natural Earth projection of the world map, with countries rendered as black filled paths with subtle maroon strokes over a grey sphere. The visualization uses D3’s `geoNaturalEarth1` projection and `geoPath` to generate SVG paths from TopoJSON data fetched from a GitHub gist. It relies on the `topojson` library’s `feature` method to extract country geometries, then appends them to an SVG canvas. The code demonstrates a minimal React-free setup, with the map loaded asynchronously via `json`.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.