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
Eelena
Last edited Jan 11, 2022
Created on Jan 11, 2022

This histogram visualizes the total number of dead and missing migrants per month using data from the Missing Migrants Dataset. It aggregates reported date values into monthly bins via `d3.bin` and calculates each bar’s height with `d3.sum`. The React-based SVG chart, authored with D3 v5, uses `scaleTime` and `scaleLinear` for axes, with axis components and marks rendered as reusable React components. Bars display tooltips on hover, and the time axis auto-generates ticks via `xScale.ticks()`.

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