Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Deaths

Public visualization

Viewing a saved revision (read-only)

ed64b0ab836e45e48094d67c0942c839

Deaths

0 stars0🌍 Public
NNikith Reddy
Last edited Mar 3, 2023
Created on Mar 3, 2023
Forked from Stylized Bar Chart

This bar chart displays the top 10 most populous countries, using horizontal bars to compare 2020 population estimates from the United Nations World Population Prospects 2019. Each bar’s length encodes population with a linear scale, while country names appear on a band scale. Built with React and D3 v5, it renders SVG rectangles via the `Marks` component, with axes from `AxisBottom` and `AxisLeft`, and formats tick labels using D3’s `format` function. Data is loaded asynchronously with `d3.csv` and truncated to the first ten rows.

AI-generated description

A program that shows the top 10 most populous countries as a bar chart.

Data: United Nations World Population Prospects 2019.