Skip to main content
100%

Fork of Refactored Bar Chart

✓ Published0🌍 Public
PPatric Tysk
Last edited Nov 13, 2021
Created on Nov 13, 2021

This bar chart displays the top 10 most populous countries from the United Nations World Population Prospects 2019 dataset, with countries on the y-axis and population on the x-axis. The visualization uses React to render SVG elements, with the `d3.scaleBand` and `d3.scaleLinear` functions from D3 v5 handling the axis scaling. It includes custom React components for the axes and bars, with the data loaded asynchronously via D3’s `csv` function. The chart also shows a loading message before the data arrives.

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