{"version":"1.0","type":"rich","title":"choroplethMap.js","description":"A choropleth map of world countries colored by economy type, rendered with SVG paths projected using D3's `geoNaturalEarth1` and `geoPath`. The legend, built with a reusable `colorLegend` function, displays ordinal color swatches from `schemeSpectral`, and clicking a legend item dims other categories. Data is loaded from the World Atlas TopoJSON and TSV files via `loadAndProcessData`, with country names and economy values appended to each feature. Pan and zoom are enabled through `d3.zoom`, applying transforms to the map group.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/6a2edfca4cf94b28ac7550fd5f75cf5b?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}