Making a bar chart
✓ Published1🌍 Public
This bar chart shows the populations of the ten most populous countries, based on 2018 estimates from the United Nations World Population Prospects. The horizontal bars are rendered as SVG rectangles, with lengths scaled linearly to population values, while country names are positioned on a band scale. The visualization uses D3 v5 APIs such as `csv` for data loading, `scaleLinear` and `scaleBand` for encoding, and `axisLeft` and `axisBottom` for tick marks. A steelblue fill style is applied via CSS.
AI-generated descriptionThis bar chart shows population of the to 10 most populous countries. The data comes from the year 2018 estimate in United Nations World Population Prospects 2017.
MIT Licensed