Skip to main content
Public

Share visualization

Loading preview…

Fork of Migrant Deaths Linked Views with Fast Brushing

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Fork of Migrant Deaths Linked Views with Fast Brushing

0
RRoma
Last edited Oct 28, 2021
Created on Oct 28, 2021

This is a linked-view visualization of migrant deaths and disappearances, showing a world map with circles scaled by the total dead and missing, alongside a time-brushed histogram. The map uses a natural Earth projection with graticules and country boundaries from the World Atlas TopoJSON. Data comes from the Missing Migrants Global 2019 subset, parsed via `d3.csv`. The histograms use `d3.scaleTime` and `d3.histogram` to bin monthly totals, while `d3.brushX` filters the map by date. React's `useMemo` and `useRef` optimize rendering performance.

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