Skip to main content
100%

Stylized barchart

✓ Published1🌍 Public
Llaplantalaplanta
Last edited Jan 27, 2022
Created on Jan 27, 2022

This stylized bar chart displays the ten most populous countries, sorted by population, using data from the United Nations World Population Prospects 2019. Orange bars extend horizontally from the left, with a bottom axis showing population in billions and left axis labels for country names. Built with React and D3 v5, the SVG visualization uses `scaleBand` for the categorical y-axis and `scaleLinear` for the numeric x-axis, with custom components for axes and marks. Population values are formatted using D3’s `format` function to abbreviate large numbers, like replacing “G” with “B.”

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