Skip to main content
100%

D3 Choropleth Map

✓ Published1🌍 Public
Rrdeichert
Last edited Dec 16, 2019
Created on Dec 16, 2019

This D3 Choropleth Map colors world countries by their economic classification, using a spectral color scale and a geospatial natural Earth projection. The visualization includes an interactive legend with circles and labels, while zoom and pan are enabled via d3.zoom. Data is loaded from TopoJSON and TSV files using d3.json and d3.tsv, with country paths generated by d3.geoPath. The map is rendered as SVG, and hovering over a country turns it red, with tooltips showing name and economy value.

AI-generated description
MIT Licensed

Similar vizzes