Skip to main content
Public

Share visualization

Loading preview…

Choropleth Map with Interactive Filtering

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Choropleth Map with Interactive Filtering

0
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