Skip to main content
100%

Fork of clickable of choropleth ... map 22

✓ Published0🌍 Public
YYanxxx447
Last edited Jan 13, 2021
Created on Jan 13, 2021

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 description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.
MIT Licensed

Similar vizzes