Viewing a saved revision (read-only)
fa905cb77b2a4428beaa6e0842c2e446
Customizing Axes
This bar chart displays the top 10 most populous countries using 2018 population estimates from the United Nations World Population Prospects 2017. It demonstrates customized D3 axes, including a formatted x-axis that abbreviates large numbers (e.g., converting billions to “B”) and grid lines, while the y-axis removes its domain line and ticks. Built with D3 v5, the visualization uses `scaleLinear`, `scaleBand`, `axisBottom`, and `axisLeft`, rendering SVG elements. Population values are multiplied by 1,000 during data loading to convert units.
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.