Skip to main content
Public

Share visualization

Loading preview…

Map 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

Map Brushing

0
FFelix Jacob
Last edited Mar 10, 2023
Created on Mar 10, 2023

This example links a world map of missing migrant incidents to a brushing-linked time histogram. The map displays circles scaled with `d3.scaleSqrt` based on total dead and missing counts, projected using `d3.geoNaturalEarth1` and rendered with `d3.geoPath`. A brushed time range filters the map’s circles in real time, using `d3.brushX` and `d3.histogram` to bin monthly totals. The React app uses `useMemo` for performance, with data sourced from a CSV of missing migrants and country boundaries from World Atlas TopoJSON.

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