Fork of clickable of choropleth ... map 22
✓ Published0🌍 Public
A fork of a D3 choropleth map displays countries colored by economy type, with a clickable legend for filtering. The map uses `geoNaturalEarth1` and `geoPath` for projection, with `zoom` for panning and `scaleOrdinal` with `schemeSpectral` for colors. Data loads from world-atlas TopoJSON and TSV files. Clicking legend items highlights matching countries and dims others.
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