Skip to main content
100%

Let's make a map with D3.js!

✓ Published2🌍 Public
MMichał Szumnarski
Last edited Aug 12, 2019
Created on Aug 3, 2019

This example displays a world map rendered as SVG paths, with countries filled in light green against a dark blue sphere background. It loads geographic data from the world-atlas TopoJSON dataset and converts it to GeoJSON using the `feature` function from topojson. The map projects coordinates with `geoNaturalEarth1` and draws each country boundary via `d3.geoPath`, while a separate path renders the globe’s outline. The visualization demonstrates basic choropleth-style mapping using D3 v5’s geo modules.

AI-generated description
MIT Licensed

Similar vizzes