Skip to main content
Public

Share visualization

Loading preview…

Fork of 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

Fork of Choropleth Map with Interactive Filtering

0
Hhuashe418
Last edited Mar 15, 2022
Created on Mar 15, 2022

This choropleth map displays global economic groups, with countries colored by their economy category. Selecting a color in the legend interactively filters the map, highlighting only countries in that group while dimming the others. The visualization uses the `d3.geoPath` and `d3.geoNaturalEarth1` projections for geographic rendering, and `d3.scaleOrdinal` with the spectral scheme for color assignment. Data comes from the world-atlas dataset, loaded via `d3.tsv` and topojson. The map supports zooming through the `d3.zoom` event handler.

AI-generated description

A choropleth map where you can hover over items in the color legend items to interactively filter!

Comments

Sign in to join the discussion.

MIT Licensed