Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

Bar Chart

Public visualization

Bar Chart

0 stars0๐ŸŒ 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.

Comments

Sign in to join the discussion.

MIT Licensed