Migrant Deaths Linked Views with Fast Brushing
This visualization combines a world map of migrant deaths with a linked brushable time-series histogram. The map uses a Natural Earth projection with circles sized by the total number of dead or missing migrants, while the histogram aggregates monthly totals. Brushing the histogram filters the map in real time via React state. The code employs d3.geoNaturalEarth1, d3.geoPath, d3.scaleSqrt, d3.brushX, and d3.bin, with data from the Missing Migrants Project and country boundaries from World Atlas TopoJSON, all rendered as SVG.
AI-generated descriptionA world map showing cities with population greater than 50,000. City data from Simplemaps: World Cities Database.
Country boundaries from World Atlas TopoJSON, polished for visual style, including graticules.
This iteration is optimized for performance using React's useMemo hook.