Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Choropleth Map

Public visualization

Viewing a saved revision (read-only)

b5bee9a2c86a41708af4922c4cd36589

Choropleth Map

0 stars0🌍 Public
Ffahmijaafar
Last edited Dec 6, 2019
Created on Dec 6, 2019

A choropleth map colors world countries by their economy category using a spectral ordinal color scale, with an interactive color legend rendered as circles and labels. The visualization loads country geometries from TopoJSON and joins them with tabular metadata via a promise-based data pipeline. Rendered as SVG, it uses `d3.geoPath` with a Natural Earth projection and supports zooming through `d3.zoom`. Hovering highlights countries, while the legend is built using the exported `colorLegend` helper, with styling defined in external CSS.

AI-generated description