Skip to main content
Public

Share visualization

Loading preview…

23_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

23_Choropleth Map with interactive filtering

0
FFMajid-ops
Last edited Dec 21, 2020
Created on Dec 21, 2020
Forked from Choropleth Map

This choropleth map displays global economies color-coded by income group, with interactive filtering via a legend that dims non-selected regions and highlights the chosen category. The visualization uses d3.geoPath and d3.geoNaturalEarth1 to render GeoJSON country features from the World Atlas TopoJSON dataset, with a d3.zoom-enabled pan and zoom. A d3.scaleOrdinal with schemeSpectral maps economy values to colors, while clickable legend ticks toggle the filter, updating opacity and stroke via the D3 general update pattern.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed