Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

Make a World Map with D3

Public visualization

Make a World Map with D3

0 stars0๐ŸŒ 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

Comments

Sign in to join the discussion.

MIT Licensed