Skip to main content
100%

D3 Course Code Along - Choropleth Map

✓ Published0🌍 Public
Nnnminh199914
Last edited Aug 13, 2020
Created on Aug 13, 2020

A choropleth map colors world countries by income group using a natural Earth projection, with a color legend and zoom interaction. It uses `d3.geoNaturalEarth1` and `d3.geoPath` to render the GeoJSON features, while `d3.scaleOrdinal` and `schemeReds` map categorical values to colors. The legend updates with a transition, and data comes from World Atlas TopoJSON and TSV files. Hovering highlights countries, and mouse-wheel zoom is supported via `d3.zoom`.

AI-generated description
MIT Licensed

Similar vizzes