Skip to main content
100%

Fork of Fork of Stylized Bar Chart

✓ Published0🌍 Public
WWangJiaCheng1999
Last edited May 27, 2021
Created on May 27, 2021

A bar chart displays the top 10 most populous countries for 2020, sourced from the United Nations World Population Prospects 2019, with population values on the x-axis and country names on the y-axis. The visualization uses React and D3 v5, employing `scaleBand` for the categorical y-axis, `scaleLinear` for the quantitative x-axis, and SVG `<rect>` elements for bars. Custom-built `AxisBottom` and `AxisLeft` components render ticks, while D3's `format` converts numbers with SI prefixes, replacing 'G' with 'B' for 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.

MIT Licensed

Similar vizzes