Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

Fork of Choropleth Map

Public visualization

Fork of Choropleth Map

0 stars0๐ŸŒ Public
Kkevincgc
Last edited Apr 7, 2022
Created on Mar 13, 2022
Forked from Choropleth Map

This fork of a choropleth map colors countries by economy classification using an ordinal color scale derived from d3.scaleOrdinal and d3.schemeSpectral. The visualization renders world geography with d3.geoNaturalEarth1 and d3.geoPath, loading TopoJSON and TSV data from the world-atlas package. Interactive zooming is enabled via d3.zoom, and hovering highlights individual countries through a CSS :hover rule. Tooltips using SVG title elements display each country's name and economy group.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed