Skip to main content
100%

Making a barchart

✓ Published1🌍 Public
VVeerle
Last edited Nov 10, 2020
Created on Nov 2, 2020

This bar chart displays the population of the ten most populous countries based on 2018 estimates from the World Population Prospects 2017 dataset. The SVG visualization uses d3.csv to load and parse the data, d3.scaleLinear for the population axis, and d3.scaleBand for the categorical country axis. Horizontal bars are rendered as SVG rectangles, with axes generated using d3.axisBottom and d3.axisLeft. d3.max determines the domain, while margin conventions and padding control layout and bar spacing.

AI-generated description

This barchart shows the population of the top 10 most populous countries. The data comes from the year 2018 estimate in World Population Prospects 2017.

MIT Licensed

Similar vizzes