Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Making a Bar Chart

Public visualization

Viewing a saved revision (read-only)

1a64c5e53d24487c8a9e6317e8d1d01b

Making a Bar Chart

0 stars1🌍 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