Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Stylized Bar Chart

Public visualization

Viewing a saved revision (read-only)

f5525cdb00134a1997c642b3971a7fde

Fork of Stylized Bar Chart

0 stars0🌍 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.