Skip to main content
100%

Let's make a Map

✓ Published3🌍 Public
Aarieltonglet
Last edited Sep 30, 2019
Created on Sep 27, 2019
Forked from Hello VizHub

This map renders world countries from the world-atlas TopoJSON dataset, using D3’s `geoNaturalEarth1` projection and `geoPath` to draw landmasses and country boundaries. The SVG output fills countries in light gray with blue strokes over a blue ocean sphere. It demonstrates a basic choropleth setup by asynchronously loading the 110m-resolution data and applying styling from an external stylesheet. The example shows how to project geographic features with D3’s geo API and topojson’s `feature` conversion.

AI-generated description
MIT Licensed

Similar vizzes