Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Choropleth Map

Public visualization

Viewing a saved revision (read-only)

95b648f62be74fa687365e2105e229a9

Fork of Choropleth Map

0 stars0🌍 Public
Mmaxthamt
Last edited Feb 17, 2022
Created on Feb 17, 2022
Forked from Choropleth Map

This map visualizes global economic classifications by shading each country with a categorical color scale, with a legends showing the income groups. It uses d3.geoNaturalEarth1 and d3.geoPath to project and draw country boundaries from TopoJSON data sourced from world-atlas, while d3.scaleOrdinal maps economy categories to a spectral color scheme. The map supports zooming via d3.zoom, and hovering highlights individual countries. A custom colorLegend module builds the SVG legend with circles and text labels.

AI-generated description