Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Let's make a map with D3.js!

Public visualization

Viewing a saved revision (read-only)

9125c980130e43b18bafa8239fef1fc6

Let's make a map with D3.js!

0 stars0🌍 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.