Skip to main content
100%

Let's make a Map!

✓ Published1🌍 Public
Rrainyrainyguo
Last edited Nov 15, 2020
Created on Nov 15, 2020

This example displays a natural Earth projection world map using SVG, with countries filled in light green and oceans rendered in blue. It loads GeoJSON country boundaries from a World Atlas TopoJSON file via `d3.json`, then converts the TopoJSON features using the `topojson.feature` API. The map is drawn with `d3.geoNaturalEarth1` for projection and `d3.geoPath` to generate SVG paths, including a separate path for the globe’s sphere.

AI-generated description
MIT Licensed

Similar vizzes