Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Let's make a Map!

Public visualization

Let's make a Map!

0 stars1🌍 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

Comments

Sign in to join the discussion.

MIT Licensed