Skip to main content
100%

Make a World Map with D3

✓ Published0🌍 Public
Aamit0623
Last edited Feb 22, 2020
Created on Feb 22, 2020
Forked from Customizing Axes

This example shows a world map colored by economy type using a categorical color scale, with hover highlighting and zoom/pan interaction. The map uses D3 v5 with `d3.geoNaturalEarth1` projection, `d3.geoPath` for rendering, and TopoJSON from the world-atlas dataset. Country boundaries are drawn as SVG paths, colored via `d3.scaleOrdinal` with `schemeCategory10`, and tooltips appear on hover. The data comes from a TSV file mapping ISO country codes to names and economies.

AI-generated description
MIT Licensed

Similar vizzes