Skip to main content
Public

Share visualization

Loading preview…

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

Choropleth map

2
JJoel Schwartz
Last edited May 5, 2020
Created on May 5, 2020

A world map rendered as a choropleth shades each country according to its economic classification, using a spectral color scale. Hovering highlights a country and shows its name and classification. The map is drawn with d3.geoPath and a Natural Earth projection, with TopoJSON data from the world-atlas package. A custom colorLegend function displays the ordinal scale, and d3.zoom enables interactive panning and zooming of the SVG.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed