Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Migrant Deaths Linked Views with Fast Brushing

Public visualization

Fork of Migrant Deaths Linked Views with Fast Brushing

0 stars0🌍 Public
Cchar0496
Last edited Apr 17, 2022
Created on Apr 17, 2022

This interactive visualization combines a world map of migrant deaths with a linked time-series histogram, enabling rapid filtering through brushing. The map uses a natural Earth projection with `d3.geoPath` to render country boundaries and graticules, while circles sized by `d3.scaleSqrt` represent the total dead and missing per location. The histogram aggregates monthly totals using `d3.bin` and `d3.timeMonths`, with a `d3.brushX` selection that instantly filters the map’s displayed data. Built with React hooks and D3 v5, it renders in SVG from a subset of the Missing Migrants Global dataset.

AI-generated description

A 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.

MIT Licensed