Fork of Simple World Map
✓ Published0🌍 Public
This example renders a world map using the Natural Earth projection, displaying country boundaries, a graticule grid, and an outline. It loads GeoJSON data from the `visionscarto/world-atlas` package via `fetch`, then converts it into features using `topojson-client`. The map is drawn with D3’s `geoNaturalEarth1` projection, `geoPath`, and `geoGraticule`, with each country rendered as a `path` element. The visualization updates in response to state changes, initially showing a loading state before the map appears.
AI-generated descriptionA basic world map.
See also:
MIT Licensed