Fork of Migrant Deaths Linked Views with Fast Brushing
This interactive visualization combines a world map of migrant deaths with a linked time-series bar chart. The map, rendered with `d3.geoNaturalEarth1` and `d3.geoPath`, displays circles whose sizes encode the total dead and missing via `d3.scaleSqrt`. Users brush over the histogram to filter map data in real time, using `d3.brushX` and React state. The histogram aggregates monthly totals with `d3.bin` and `d3.timeMonths`, drawing from the Missing Migrants Project dataset. SVG output is optimized via `useMemo` for fast brushing performance.
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.
Comments
Sign in to join the discussion.