Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Choropleth map

Public visualization

Choropleth map

0 stars0🌍 Public
RRiccardo Pressiani
Last edited Oct 10, 2019
Created on Oct 10, 2019

A choropleth map colors world countries by economy type, with a color legend and hover highlight. It renders GeoJSON country paths using `d3.geoPath` with a `geoNaturalEarth1` projection, and supports pan and zoom via `d3.zoom`. Data comes from TopoJSON world-atlas files and CSV metadata joined by ISO code; `scaleOrdinal` assigns categorical colors from `schemeSpectral`, and the legend is built with D3 selections.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed