🌍 Public
Viewing a saved revision (read-only)
8fb60432875d4e52b65dd4d6ad71805f
Bar chart: Customize axis
This bar chart displays the population of the ten most populated countries using UN 2018 data, with population values scaled by thousands. Horizontal bars are sorted by country name, with axis labels customized through the `axisLeft` and `axisBottom` APIs from d3. The visualization uses `scaleLinear` for the population axis and `scaleBand` for the categorical country axis. All elements are rendered as SVG, with the data loaded asynchronously via `d3.csv`.
AI-generated descriptionThis bar chart shows population of the 10 most populated countries. Data from UN 2018 World Prospects