Skip to main content
100%

Bar Chart

✓ Published0🌍 Public
CChiedu Egbumokei Jr
Last edited Dec 26, 2021
Created on Dec 26, 2021
Forked from Pathetic Bar Chart

This bar chart displays the top 10 most populous countries using data from the United Nations World Population Prospects 2019. The visualization uses React with hooks to fetch and process the CSV data, then renders SVG rectangles scaled by population values. The code employs d3.csv, scaleBand, and scaleLinear to position bars and create x-axis ticks, though no y-axis labels are drawn. A loading state shows "Loading..." via a pre element until the dataset is ready.

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