Multiple Views with Fast Brushing
Two coordinated views visualize migrant deaths and disappearances worldwide. A bubble map uses `d3.geoNaturalEarth1` and `d3.geoPath` to draw country boundaries, graticules, and scaled circles for filtered data. Below it, a time histogram built with `d3.bin` and `d3.scaleTime` shows monthly death totals; brushing with `d3.brushX` filters the map reactively, updating circles through React state. Data comes from a CSV of missing migrants, while country shapes use TopoJSON from the world-atlas package.
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.