Skip to main content
100%

Vertical bar chart

✓ Published0🌍 Public
Nnoelmiranda
Last edited Jul 22, 2019
Created on Jul 22, 2019
Forked from Vertical bar chart

This vertical bar chart displays the population of the top 10 most populous countries using 2018 estimates from the United Nations World Population Prospects. The visualization uses D3.js v5 with an SVG rendering approach, employing `d3.scaleBand` for the categorical x-axis and `d3.scaleLinear` for the population values. Customized axes include rotated country labels, tick marks formatted with abbreviated units (e.g., "1.3B"), and a labeled y-axis emphasizing the population metric. The chart styles rectangles and text elements via CSS for a clean presentation.

AI-generated description

This bar chart shows population of the top 10 most populous countries. The data comes from the year 2018 estimate in United Nations: World Population Prospects 2017. It also demonstrates customization of D3 axes.

See also the first bar chart visualization that this one builds on: Making a Bar Chart.

MIT Licensed

Similar vizzes