Skip to main content
100%

Bar Chart

✓ Published1🌍 Public
RRafael O'Duarte
Last edited May 7, 2020
Created on May 6, 2020
Forked from A Face With D3.js

This bar chart displays the population of the ten most populous countries based on 2018 estimates from the World Population Prospects 2017. The visualization uses d3.scaleLinear and d3.scaleBand to map population values to bar widths and country names to vertical bands, with d3.axisBottom and d3.axisLeft for the axes. Data is loaded from a CSV file using d3.csv, and the population values are multiplied by 1000 to reflect actual figures. The chart renders as SVG, with a title annotation and formatted tick labels using d3.format.

AI-generated description

This bar chart show the populate of the 10 most populous contries. The data come from year 2018 estimate in World Population Prospects 2017

MIT Licensed

Similar vizzes