Skip to main content
Public

Share visualization

Loading preview…

32. 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

32. Missing Migrants Date Histogram

0
PPrashish Paudel
Last edited Apr 2, 2021
Created on Apr 2, 2021

This visualization is a date histogram that aggregates the total number of dead and missing migrants per month from the Missing Migrants Dataset. The chart uses a React application with SVG rendering, employing d3.scaleTime for the x-axis and d3.scaleLinear for the y-axis. The data is grouped into monthly bins using d3.bin, and the sum of each bin’s values is calculated with d3.sum. Rectangles represent each month, with a tooltip showing the aggregated count. The axes are rendered using custom components, and the styling uses the Poppins font with a teal color for the marks.

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