Skip to main content
100%

Choropleth Map with D3.js

✓ Published1🌍 Public
Ddanhuijia
Last edited Feb 6, 2020
Created on Feb 6, 2020

This choropleth map visualizes global income groups using a color scale based on the Spectral scheme. The map is rendered with SVG paths generated by D3.js’s `geoPath` projection, and the world country boundaries come from the `world-atlas` TopoJSON dataset. Users can zoom and pan the map via the `zoom` event, and a color legend displays the ordinal scale’s categories. Data is loaded from the TSV file, merged with geographic features, and country names and income groups appear on hover via tooltips.

AI-generated description

A bare minimum HTML page.

See also React Starter.

MIT Licensed

Similar vizzes