Skip to main content
100%

Choropleth map

✓ Published1🌍 Public
MMatan
Last edited Nov 14, 2020
Created on Nov 14, 2020
Forked from Interaction

A choropleth map colors countries by economic classification using a purple ordinal scale and natural Earth projection. The visualization loads world geometry from TopoJSON and country names from TSV data via `d3.json` and `d3.tsv`, then renders paths with `d3.geoPath`. A custom color legend built with SVG circles and text appears in the corner, while `d3.zoom` enables panning and zooming over the map.

AI-generated description

Demonstrates fundamental DOM manipulation using D3.js by making a smiley face whose eyebrows move.

MIT Licensed

Similar vizzes