Skip to main content
100%

Untitled

✓ Published1🌍 Public
CClair Sun
Last edited Nov 16, 2019
Created on Nov 16, 2019
Forked from Customizing Axes

This bar chart displays the population of the top 10 most populous countries, based on 2018 estimates from the United Nations World Population Prospects. It builds on a basic bar chart example and demonstrates customization of D3 axes. The visualization uses d3.v4 to create SVG rectangles, with bar width calculated from the dataset length and bar height proportional to population values. The chart’s background is styled via CSS, and the code includes a simple dataset array of nine values for illustration.

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