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
Mm4au312
Last edited May 17, 2021
Created on May 17, 2021

This linked-view visualization plots migrant deaths and missing persons on a natural Earth projection map, with a time-series histogram below. A brush on the histogram filters the map’s circles, which are scaled by the square-root of total dead and missing. The code uses D3 v5 modules like `geoNaturalEarth1`, `geoPath`, `geoGraticule`, `scaleSqrt`, `scaleTime`, and `brushX`, integrated within React’s `useMemo` and `useEffect` hooks. Data is loaded via `d3.csv` from a Missing Migrants Project subset, with SVG rendering for both the map and histogram.

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