Skip to main content
100%

chloropleth

✓ Published1🌍 Public
Hhanulik.ondrej@gmail.com
Last edited Aug 16, 2022
Created on Aug 14, 2022
Forked from Mapa světa

This choropleth map displays global population by country, with a blue color scale indicating population ranges. Built with d3.js, it uses `d3.geoMercator` for projection and `d3.geoPath` to draw country boundaries from a GeoJSON dataset. Population data from a CSV file is matched to each country via a `Map`, and `d3.scaleThreshold` maps values to a color scheme. Hovering over a country triggers a transition that dims other countries and highlights the selected one with a black stroke.

AI-generated description
MIT Licensed

Similar vizzes