Skip to main content
100%

Fork of Stylized Bar Chart

✓ Published0🌍 Public
PParis Papadopoulos
Last edited Apr 26, 2022
Created on Apr 26, 2022
Forked from Stylized Bar Chart

This fork of a stylized bar chart displays the top 10 most populous countries using data from the United Nations World Population Prospects 2019, with only the first three countries actually loaded. The chart pairs a d3.scaleBand for the categorical country axis with a d3.scaleLinear for the continuous population axis, rendering bars as SVG rectangles with d3.max determining the domain. React manages the component structure, while d3.csv fetches and parses the data, and d3.format produces the tick labels that convert values to billions.

AI-generated description

A program that shows the top 10 most populous countries as a bar chart.

Data: United Nations World Population Prospects 2019.

MIT Licensed

Similar vizzes