Fork of Making a Bar Chart
✓ Published0🌍 Public
This bar chart displays the 2018 population estimates for the top 10 most populous countries, sourced from United Nations World Population Prospects. It uses d3.scaleLinear for the x-axis, d3.scaleBand for the y-axis, and d3.axisLeft and d3.axisBottom to render country labels and population values in SVG. The chart applies a steelblue fill to rectangles and a custom margin layout, with data loaded via d3.csv.
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