🌍 Public
Viewing a saved revision (read-only)
e75fda2f0f4e4a2daa85d50b24d2f6f8
Fork of Choropleth Map
This fork of a choropleth map colors countries by their economic classification using a spectral color scale, with an interactive SVG legend displaying the categories. The map uses the Natural Earth 50m dataset, loaded via the `d3.json` and `d3.tsv` functions, and renders geographic paths with `d3.geoPath`. It employs `d3.scaleOrdinal` for color mapping and `d3.zoom` for pan/zoom interactions, with hover effects highlighting countries in red.
AI-generated description