Migrant Deaths Linked Views with Brushing
This example shows two linked views of migrant death data: a natural Earth projection world map with semi-transparent circles scaled by total deaths and missing persons, and a date histogram of monthly totals. Brushing a time range in the histogram filters the circles on the map, revealing temporal patterns. The map uses `d3.geoNaturalEarth1`, `d3.geoPath`, and `d3.geoGraticule` with TopoJSON world atlas boundaries. The histogram uses `d3.bin`, `d3.scaleTime`, and `d3.brushX` within a React component, rendering SVG marks for both views.
AI-generated descriptionThe final installment from the online course Datavis 2020.
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.