Skip to main content
100%

Fork of Stylized Bar Chart

✓ Published0🌍 Public
MMillie White
Last edited Jan 8, 2022
Created on Jan 8, 2022
Forked from Stylized Bar Chart

This bar chart displays the top 10 most populous countries, using data from the United Nations World Population Prospects 2019, with horizontal bars ordered by country name. Built with React and D3 v5, the visualization employs `scaleBand` for the categorical y-axis and `scaleLinear` for the population x-axis, rendered as SVG rectangles with tooltips. The `csv` function loads and parses the dataset, while `format('.2s')` converts population values into abbreviated tick labels (e.g., "1.4B"). A custom font (Poppins) and a muted teal color scheme give the chart a stylized, modern appearance.

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