Making a Bar Chart
✓ Published0🌍 Public
This bar chart displays the 2018 population estimates for the top 10 most populous countries, with data loaded from a local CSV file. Built with D3 v5, it uses `d3.csv`, `scaleLinear`, and `scaleBand` to map populations to bar lengths, while customizing `axisBottom` and `axisLeft` with tick formatting and removed gridlines. The chart’s SVG rendering includes a title, axis label, and steelblue bars, with a companion video tutorial explaining the construction process.
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. It also demonstrates customization of D3 axes.
MIT Licensed