Making a Bar Chart
✓ Published1🌍 Public
This bar chart displays the populations of the top 10 most populous countries, based on 2018 estimates from the United Nations World Population Prospects. The visualization uses d3.scaleLinear for the x-axis and d3.scaleBand for the categorical y-axis, with d3.axisBottom and d3.axisLeft to render custom axes. Data is loaded via d3.csv and formatted with d3.format. The SVG rendering includes styled rectangles and axis labels, demonstrating a clean, readable layout.
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