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
MMichael Behrisch
Last edited May 31, 2024
Created on May 31, 2024

A linked-view visualization combines a world map with a date histogram to explore migrant deaths. The map uses D3's `geoNaturalEarth1` projection to plot cities as circles scaled by the number of deaths. The histogram uses `scaleTime` binning and a brush to filter the map's displayed data. The implementation leverages React's `useMemo` for performance and D3 v5, with SVG marks drawn via `geoPath`.

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