choropleph
✓ Published2🌍 Public
This choropleth map uses a spectral color scale to visualize the economic classification of each country, with a hover effect that fills the selected country in black and a legend displaying the ordinal color domains. Built with d3.geoPath and the geoNaturalEarth1 projection, it renders SVG paths from TopoJSON world-atlas data and merges additional TSV attributes. Interactive pan and zoom are provided by d3.zoom, while the color legend is constructed manually with circles and text using scaleOrdinal and schemeSpectral.
AI-generated descriptionMIT Licensed