Skip to main content
100%

Choropleth Map

✓ Published0🌍 Public
Aakshayms0
Last edited Nov 5, 2022
Created on Nov 5, 2022
Forked from HTML Starter

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 description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes