Skip to main content
Public

Share visualization

Loading preview…

Fork of Missing Migrants Date Histogram

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 Missing Migrants Date Histogram

0
Jjessie.xie2023@gmail.com
Last edited Feb 12, 2025
Created on Feb 12, 2025

This histogram visualizes the monthly total of dead and missing migrants, drawn as SVG rectangles within a React application. Each bin aggregates the sum of the "Total Dead and Missing" column from the Missing Migrants Dataset, using the d3.bin function to create monthly time buckets and d3.sum to accumulate values. The chart's axes use d3.scaleTime and d3.scaleLinear, with tick grids and labels styled via CSS. Hovering over a bar reveals its exact total through a tooltip.

AI-generated description

A date histogram showing the sum total dead and missing migrants for each month.

Data from the Missing Migrants Dataset.

Demonstrates use of d3.bin and d3.sum.

Comments

Sign in to join the discussion.

MIT Licensed