🌍 Public
Viewing a saved revision (read-only)
fc4c3e0a460f447cbd5a20572f3a29ff
interactive_choropleth_map
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.