Skip to main content
100%

map exemple

✓ Published18🌍 Public
TTimothyMiage
Last edited Oct 3, 2022
Created on Oct 3, 2022

This choropleth map displays global population estimates, with countries shaded from light red to dark red according to their population size. The visualization uses `d3.geoMercator` for projection and `d3.geoPath` to render country boundaries from TopoJSON data loaded via `d3.json`, while population values come from a TSV file loaded with `d3.tsv` and mapped to colors using `d3.scaleLinear`. The map supports pan and zoom interactions through `d3.zoom`, and hover effects are styled with CSS.

AI-generated description

map

MIT Licensed

Similar vizzes