Skip to main content
Public

Share visualization

Loading preview…

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

Interactive Filtering

0
NNikhil Prakash
Last edited Mar 17, 2021
Created on Mar 17, 2021

This interactive choropleth map visualizes country-level economic data from the World Atlas, rendered as SVG projections using D3’s `geoNaturalEarth1` and `geoPath` APIs. Users click countries to highlight them, which dims all others, and adjust the categorical color legend to filter which economies appear vivid. A color scale from `scaleOrdinal` with `schemeSpectral` maps economy types, while pan and zoom controls rely on D3’s `zoom` event. Country data combines TSV attributes with TopoJSON geometry via `topojson.feature`.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed