🌍 Public
Viewing a saved revision (read-only)
49ef8f90764a4bc487b9f174b2cb9e38
Fork of Simple World Map - PKS
This example renders a world map using the Natural Earth projection via `d3.geoNaturalEarth1` and `d3.geoPath`. A graticule grid and outline are drawn with `geoGraticule`, while country boundaries are filled and stroked in white. The map loads TopoJSON country data from the `visionscarto-world-atlas` package, converts it with `topojson-client`, and displays it within a full-screen SVG. The code uses `d3.select` for rendering and updates the map through a state-based flow that fetches data once.
AI-generated descriptionA basic world map.
See also:
MIT Licensed