Skip to main content
100%

Fork of Refactored Bar Chart

✓ Published0🌍 Public
Bbradpickering
Last edited May 30, 2022
Created on May 30, 2022

This chart displays the top 10 most populous countries for 2020 as horizontal bars, with country names on the y-axis and population counts on the x-axis. It uses React components to render D3 scales and SVG marks, with `scaleBand` for the categorical y-axis and `scaleLinear` for the continuous x-axis. The data comes from the United Nations World Population Prospects 2019, loaded via `d3.csv`. Axes are drawn as custom React components with tick lines and labels, while the bars are simple SVG rectangles.

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