Lab2-4
This bar chart displays the population of the top 10 most populous countries, with data from the 2018 estimate in the United Nations World Population Prospects 2017. It builds on a prior bar chart by customizing axes, including tick formatting that converts large numbers to abbreviated forms like "G" for billions. The visualization uses D3 v5 APIs such as `csv`, `scaleLinear`, `scalePoint`, `axisLeft`, and `axisBottom`, rendering circles in SVG. Population values are multiplied by 1000 in the data-loading step, and the chart includes labeled axes and a title.
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.
See also the first bar chart visualization that this one builds on: Making a Bar Chart.