Fork of Choropleth Map
✓ Published0🌍 Public
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 descriptionMIT Licensed