Skip to main content
100%

Making a bar chart

✓ Published0🌍 Public
Aalfsender
Last edited Nov 2, 2019
Created on Nov 2, 2019
Forked from Making a bar chart

This bar chart displays the populations of the ten most populous countries, based on 2018 estimates from the United Nations World Population Prospects. It uses d3.csv to load the data and d3.select to bind it to SVG rectangles, with each bar’s height reflecting the population value. The chart includes styled axes and labels via CSS, with the axis ticks and label text formatted using D3’s selection methods. Data values are converted from thousands to absolute numbers before rendering.

AI-generated description

This bar chart shows population of the to 10 most populous countries. The data comes from the year 2018 estimate in United Nations World Population Prospects 2017.

MIT Licensed

Similar vizzes