Making a Bar Chart
✓ Published2🌍 Public
This bar chart displays the populations of the top 10 most populous countries, using data from the 2018 United Nations World Population Prospects estimate, with values in thousands. The chart uses D3’s `scaleLinear` for the x-axis and `scaleBand` for the categorical y-axis, rendering SVG rectangles. Population values are parsed from a CSV file and multiplied by 1000 to represent actual figures. The chart is styled with steelblue bars, and axes are positioned using `axisLeft` and `axisBottom`.
AI-generated descriptionThis bar chart shows population of the top 10 most populous countries. The data commes from the year 2018 estimate in United Nations: World Population Prospects 2017.
MIT Licensed