Custom Chart
This bar chart displays the populations of the top 10 most populous countries, using 2018 estimates from the United Nations World Population Prospects. The chart shows countries ranked from China down to Mexico, with horizontal bars sized proportionally to each nation's population. The visualization is built with D3 v5, using `scaleLinear` for the population axis, `scaleBand` for the categorical country labels, and `axisBottom` and `axisLeft` for tick marks. Population values from the CSV are multiplied by 1000 before plotting, and the chart renders as an SVG with styled tick lines and a title.
AI-generated descriptionThis bar chart shows population of the top 10 most populous countries. The data comes from the year 2018 estimate in United Nations: World Population Prospects 2017.