Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Choropleth Map

Public visualization

Viewing a saved revision (read-only)

b50b9e0f3808460faeb09a5ca9648439

Choropleth Map

0 stars1🌍 Public
EEdward-Elric233
Last edited Sep 20, 2020
Created on Sep 19, 2020

This choropleth map colors countries by their economy classification, using a spectral color scale derived from World Atlas TopoJSON data and ISO country codes. Built with D3 v5, it renders the map using geoEqualEarth projection and d3.geoPath, with zoom support via d3.zoom. Country boundaries are stroked in black, and hovering turns a country black. An animated color legend, implemented with custom transitions and scaleOrdinal, displays the color categories.

AI-generated description