interactive_choropleth_map
✓ Published0🌍 Public
An interactive choropleth map colors world countries by economic classification using d3.geoNaturalEarth1 and d3.geoPath, with a clickable ordinal color legend to filter highlighted regions. Built with D3 v5 and TopoJSON world-atlas data, it supports zooming via d3.zoom and renders as SVG. Hovering dims non-selected countries while selected ones gain emphasis.
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