Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Choropleth map

Public visualization

Viewing a saved revision (read-only)

e4bfbcbedf394aa5a67ad960a9c09684

Choropleth map

0 stars0🌍 Public
Rroncando
Last edited Aug 27, 2019
Created on Aug 27, 2019
Forked from Choropleth map

A choropleth map visualizes global income groups using a divergent spectral color scale, with country names and income categories shown on hover. The map uses a natural Earth projection via `d3.geoPath` and supports zooming and panning through `d3.zoom`. World geometry comes from TopoJSON (50m), enriched with TSV metadata, while `d3.scaleOrdinal` drives the color mapping. A legend, built with a reusable colorLegend module, displays the categorical scale; hover effects highlight countries in red.

AI-generated description

An example showing the capabilities of VizHub.