Let's make a map with D3.js!
✓ Published0🌍 Public
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 descriptionA bare minimum HTML page.
See also React Starter.
MIT Licensed