Fork of Choropleth Map
This choropleth map colors countries by their economy category using a categorical ordinal scale with a spectral color scheme. The visualization is built with D3 v5, using `geoNaturalEarth1` and `geoPath` for the map projection, with TopoJSON world data loaded from the world-atlas package. Interactive zoom is implemented via `d3.zoom`, while a custom color legend component renders ordinal categories with circles and labels. Country data is enriched by joining ISO codes from a TSV file, revealing the economy groups on hover via tooltips.