Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Choropleth Map

Public visualization

Choropleth Map

1 star1🌍 Public
WWannachai-yin
Last edited Jul 17, 2021
Created on Jul 16, 2021
Forked from D3 Starter

A choropleth map colors countries according to their economic classification, using an ordinal color scale with a spectral scheme. The map includes zooming and panning via the `zoom` event, and a legend shows the color-to-value mapping. Built with D3 v5, it uses `geoPath` and `geoNaturalEarth1` for the map projection, and the data comes from the `world-atlas` dataset, loaded with `tsv` and `json` calls.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed