Skip to main content
100%

Stylized Bar Chart

✓ Published1🌍 Public
AAliaksandr
Last edited Jan 7, 2021
Created on Jan 7, 2021

A stylized bar chart displays the top 10 most populous countries using United Nations World Population Prospects 2019 data, with horizontal bars ordered by country name. The visualization leverages React for component structure and D3 v5's `scaleBand`, `scaleLinear`, `csv`, and `format` APIs for data loading and scaling. SVG rectangles render the marks with native tooltips, while custom `AxisBottom` and `AxisLeft` components generate tick lines and labels. The chart includes an "Population" axis label and formats large values using SI notation converted from billions to the "B" suffix.

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