Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

Choropleth Map

Public visualization

Choropleth Map

0 stars0๐ŸŒ Public
00718103673
Last edited Apr 14, 2021
Created on Apr 14, 2021

This choropleth map colors countries according to their economy type, using a spectral color scale to show the distribution of economic groups across the world. The visualization employs d3.geoPath with a d3.geoNaturalEarth1 projection to render the geographic features, and d3.scaleOrdinal maps categorical values to colors. Hovering over a country highlights it in red and reveals a tooltip with its name and economy category. Data comes from the World Atlas TopoJSON and TSV files, processed through the topojson feature function.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed