Fork of Choropleth Map
✓ Published0🌍 Public
This choropleth map colors world countries by their economy classification, with a color legend displaying each category as colored circles with text labels. The visualization uses D3 v5 with a natural Earth projection, rendering geographic features as SVG paths from TopoJSON world-atlas data. Users can zoom and pan interactively via d3.zoom, and hovering over a country highlights it in red while a tooltip shows its name and economy type. The color scale uses d3.scaleOrdinal with a spectral scheme, and the legend is drawn using a custom reusable component.
AI-generated descriptionMIT Licensed