Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Histogram de Migração

Public visualization

Viewing a saved revision (read-only)

149303da0b6d4dc5957cb8f8e38b7a75

Histogram de Migração

0 stars1🌍 Public
AAlan Santos
Last edited Jun 8, 2022
Created on Jun 8, 2022

This histogram visualizes the total number of dead and disappeared migrants over time, using a time-based x-axis and a count-based y-axis. The code loads CSV data from a GitHub gist, bins the data by month using `d3.bin` with `timeMonths` thresholds, and sums the casualties per bin. React components render SVG axes and rect marks for each bin, with tooltips showing values via `<title>` elements. D3's `scaleTime` and `scaleLinear` handle scaling, while `csv` fetches and parses the dataset.

AI-generated description

Programa que mostra os 10 países mais populosos atraves do grafico de barras e axes

Dados:Perpectiva da Nações Unidas da População 2019