Skip to main content
100%

Let's make a map with D3.js!

✓ Published0🌍 Public
Aabhijit01
Last edited Apr 28, 2020
Created on Apr 28, 2020

This example renders a world map using D3.js and TopoJSON. It loads the world-atlas dataset and converts its TopoJSON topology into GeoJSON features, then draws each country as an SVG path. The map uses the Mercator projection via `d3.geoMercator` and `d3.geoPath` to generate the path data. Country polygons are filled with steelblue and outlined with black strokes, displaying a basic choropleth-style world map without additional data encoding.

AI-generated description

A bare minimum HTML page.

See also React Starter.

MIT Licensed

Similar vizzes