Choropleth Map
✓ Published0🌍 Public
This choropleth map displays countries colored by their income group using a spectral color scale. The visualization renders world geography with D3 geoPath and geoNaturalEarth1 projection, featuring zoom capabilities and interactive hover effects that highlight individual countries. Data is loaded from the world-atlas package’s TSV and TopoJSON files, processed with topojson.feature, and mapped to colors using d3.scaleOrdinal and schemeSpectral. A custom color legend with circles and text labels facilitates interpretation of the income classifications.
AI-generated descriptionMIT Licensed