clickable of choropleth ... map
✓ Published1🌍 Public
This interactive choropleth map colors countries by economic classification using a natural Earth projection and a spectral color scale. Users can click legend swatches to filter highlighted countries, or click the map itself to explore regions. The visualization loads world topology and metadata from the world-atlas package, renders with SVG paths via d3.geoPath, and implements zooming through d3.zoom. A color legend module handles the clickable categorical filter, with hover states emphasizing individual countries.
AI-generated descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.
MIT Licensed