Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Choropleth map

Public visualization

Choropleth map

0 stars1🌍 Public
JJoel Schwartz
Last edited May 5, 2020
Created on May 5, 2020
Forked from Choropleth map

This choropleth map displays countries colored by economic classification using a spectral color scale. Users can click legend items to highlight all countries in that category while dimming others, with zoom and pan via `d3.zoom`. The map is rendered with `d3.geoPath` and `d3.geoNaturalEarth1` projection using TopoJSON data from the world-atlas dataset. A legend, built with custom SVG circles and text, provides interactive filtering, and hover effects change country fill colors.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed