Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Choropleth Map with Interactive Filtering

Public visualization

Choropleth Map with Interactive Filtering

0 stars0🌍 Public
TToooooooT
Last edited Sep 19, 2022
Created on Sep 19, 2022
Forked from Choropleth Map

This choropleth map displays global economic classifications using a categorical color scale, with a legend that filters countries by clicking on a category to highlight matches and fade others. Built with D3 v5, it renders country shapes via d3.geoPath and TopoJSON data from the World Atlas, while the legend uses d3.scaleOrdinal with a spectral scheme. Zoom and pan interactions are handled through d3.zoom, and hovering changes a country’s fill to red.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed