Skip to main content
100%

Fork of Refactored Bar Chart

✓ Published1🌍 Public
Zzyniax
Last edited Apr 8, 2021
Created on Apr 8, 2021

This horizontal bar chart displays the top 10 most populous countries from the United Nations World Population Prospects 2019 dataset. The visualization uses React with D3 v5's `scaleBand` for the categorical y-axis and `scaleLinear` for the numerical x-axis, rendering bars as SVG rectangles. The code leverages `csv` from D3 to load data, and includes custom axis components for formatting tick labels with the `format` function. Tooltips provide formatted population values via the `<title>` element.

AI-generated description

A program that shows the top 10 most populous countries as a pathetic bar chart with no axes.

Data: United Nations World Population Prospects 2019.

MIT Licensed

Similar vizzes