Skip to main content
100%

Making a Bar Chart

✓ Published1🌍 Public
MMichał Szumnarski
Last edited Jul 14, 2019
Created on Jul 11, 2019

This bar chart displays the population of the top 10 most populous countries, based on 2018 estimates from the World Population Prospects 2017. The visualization uses an SVG rendering with D3 v5, employing `d3.scaleLinear` for the x-axis and `d3.scaleBand` for the y-axis, along with `d3.axisLeft` and `d3.axisBottom` to render the axes. Data is loaded from a CSV file using `d3.csv` and displayed as steel-blue rectangles.

AI-generated description

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

MIT Licensed

Similar vizzes