Skip to main content
Public

Share visualization

Loading preview…

choropleth map - interactive filtering (Fork of dataviz 2018 #21)

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 - interactive filtering (Fork of dataviz 2018 #21)

0
Zzach b.
Last edited Aug 25, 2026
Created on Aug 25, 2026

This interactive choropleth map visualizes countries colored by economic grouping using an ordinal color scale. Users can click a legend swatch to highlight matching countries, dimming others, or click the map background to clear the filter. The visualization is built with D3 v5, using `geoNaturalEarth1` and `geoPath` for map projections and `scaleOrdinal` for colors. Data comes from the world-atlas TopoJSON and TSV files, with rendering in SVG.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed