Choropleth Map
✓ Published0🌍 Public
This choropleth map displays global economic classifications, with countries color-coded by their income group using a spectral ordinal scale. Users can click legend items to highlight matching regions, which dims non-selected countries and increases their stroke width. The visualization uses d3.geoNaturalEarth1 and d3.geoPath to render GeoJSON from the world-atlas TopoJSON dataset, while d3.zoom enables interactive panning and zooming. A custom color legend with clickable circles and d3.scaleOrdinal drives the selection filtering, rendered entirely as SVG elements within a React framework.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed