Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Choropleth map

Public visualization

Viewing a saved revision (read-only)

526ca848e3f14961a77040258b48154b

Choropleth map

0 stars1🌍 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.