Skip to main content
100%

Let's make a map with D3.js

✓ Published1🌍 Public
BB Sundaresan
Last edited Jul 13, 2020
Created on Jul 11, 2020

This example renders a world map using D3.js and the Natural Earth projection via `d3.geoNaturalEarth1`. It constructs an SVG with a blue sphere background and green country paths using `d3.geoPath` and `topojson.feature`. The map is built from the world-atlas countries-110m JSON dataset, and the code handles path generation for both the sphere and country shapes.

AI-generated description

A bare minimum HTML page.

See also React Starter.

MIT Licensed

Similar vizzes