Skip to main content
Public

Share visualization

Loading preview…

Fork of Choropleth Map

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

0
Jjay-goone
Last edited Jan 14, 2022
Created on Jan 14, 2022
Forked from Choropleth Map

This example displays a world choropleth map coloring countries by their economic income group, with a categorical color legend and zoom/pan functionality. The visualization uses D3 v5 APIs including `geoPath` with `geoNaturalEarth1` projection, `scaleOrdinal` with `schemeSpectral` for color mapping, and `zoom` for interaction. It loads geographic data from the world-atlas TopoJSON and TSV files via `topojson.feature`. Countries render as SVG paths with hover highlighting, and the color legend dynamically generates from the ordinal scale domain.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed