🌍 Public
Bar chart
This bar chart displays the populations of the top 10 most populous countries, based on 2018 estimates from World Population Prospects. The chart uses a horizontal layout with a linear scale for population values and a band scale for country names. The visualization is built with D3 v6, using `d3.csv`, `scaleLinear`, `scaleBand`, `axisLeft`, and `axisBottom` to load data and render SVG rectangles. Each bar’s length reflects population in thousands, with steel-blue fills and labeled axes.
AI-generated descriptionThis bar chart shows populations of the top 10 most populous countries. The data comes from the year 2018 estimate in World Population Prospects
MIT Licensed
Comments
Sign in to join the discussion.