🌍 Public
Viewing a saved revision (read-only)
3ee6a51376174fa389bca39c3d28311e
COLORPLETH
A choropleth map visualizes countries' economic classifications using an ordinal color scale. The map renders via the `d3.geoPath` and `d3.geoNaturalEarth1` projection, with country data sourced from the `world-atlas` package. A legend, built with a custom `colorLegend` function, lists each economy type. The map is zoomable and interactive, with hover effects changing fill color and a `title` element showing country names and values.
AI-generated descriptionDemonstrates fundamental DOM manipulation using D3.js by making a smiley face whose eyebrows move.