Viewing a saved revision (read-only)
f82ef884a8784bd884109523fff3d477
Fork of Customizing Axes
This bar chart displays the population of the top 10 most populous countries using 2018 United Nations estimates from data.csv. It shows each country’s population as a horizontal bar, with a linear x-axis and banded y-axis. The example demonstrates D3 v5 axis customization via `axisLeft` and `axisBottom`, including custom tick formatting, labels, and styled tick lines. The visualization uses `scaleLinear`, `scaleBand`, and SVG rendering, with population values converted to thousands from the CSV data.
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.