Making a Bar Chart
✓ Published0🌍 Public
This bar chart displays the population of the top 10 most populous countries using 2018 estimates from the United Nations World Population Prospects 2017. The visualization employs d3.scaleLinear for the x-axis and d3.scalePoint for the y-axis, with data loaded via d3.csv from a local CSV file. Circles represent each country’s population, with axes rendered using d3.axisLeft and d3.axisBottom, including gridlines and formatted tick labels. The SVG output is styled with opacity and steelblue fills for the circles.
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.
MIT Licensed