Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Choropleth Map

Public visualization

Viewing a saved revision (read-only)

8aa4650d69c348e29d90c8c0b09c5d48

Choropleth Map

0 stars0🌍 Public
NNikhil Prakash
Last edited Mar 18, 2021
Created on Mar 17, 2021
Forked from World map

This choropleth map colors countries by economic classification using an ordinal color scale with a spectral scheme. The visualization renders world geography as SVG paths projected with the Natural Earth projection, with zoom and pan interactions enabled through d3.zoom. Data loads from the World Atlas TopoJSON and TSV files, which are joined by ISO country codes to populate map features. Hovering highlights individual countries in maroon, while tooltip titles display each country’s name and economy type.

AI-generated description

A demonstration of how to start using D3 version 6.