Viewing a saved revision (read-only)
80933fc0a64f490ba54d102d48d03f97
Fork of Making a Bar Chart finished
This bar chart displays the top 10 most populous countries based on 2018 United Nations population estimates, with populations converted to raw counts from thousands. The visualization uses D3 v5’s `scaleLinear`, `scaleBand`, `axisLeft`, and `axisBottom` to render an SVG, including customized tick formatting that abbreviates large numbers with the `format` function. Grid lines and labels are styled via margins and axis customization, while the data is loaded from a local CSV file using `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.