Skip to main content
100%

Stylized Bar Chart

✓ Published0🌍 Public
Ttracy3057
Last edited Dec 1, 2020
Created on Dec 1, 2020
Forked from Stylized Bar Chart

This stylized bar chart displays the top 10 most populous countries using data from the United Nations World Population Prospects 2019. The visualization uses React components with D3 v5 scales (`scaleBand` and `scaleLinear`) for positioning, and renders horizontal bars as SVG `<rect>` elements. Population values are formatted using D3’s `format` function, converting values like billions into a compact "B" suffix. The chart loads CSV data via `d3.csv` and includes custom axes and tooltips showing exact population figures on hover.

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