Scatter Plot
✓ Published0🌍 Public
This scatter plot displays the population of the top 10 most populous countries, using a bar chart layout with a linear scale for population and a band scale for country names. The data comes from the 2018 United Nations World Population Prospects. Built with D3 v5 and SVG rendering, the code uses d3.csv, scaleLinear, scaleBand, axisBottom, and axisLeft, with custom tick formatting that converts billions to a readable format and gridlines for the y-axis.
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