Fork of Choropleth Map
This fork of a choropleth map visualizes global economies using a categorical color scale derived from d3.scaleOrdinal and schemeSpectral. It renders countries as SVG paths via d3.geoPath with a Natural Earth projection, and includes an interactive color legend built with reusable D3 code. The map supports zooming through d3.zoom, and data is loaded from TopoJSON and TSV files using d3.json and d3.tsv. Hovering highlights countries in red, and tooltips display each country’s name and economic classification.