Skip to main content
100%

Customizing Axes

✓ Published0🌍 Public
SSteve-Vail
Last edited Jul 16, 2019
Created on Jul 16, 2019
Forked from Customizing Axes

This visualization displays the top 10 most populous countries in 2018 using a vertical bar chart with customized axes. The chart uses `d3.csv` to load population data from a local file, `d3.scaleLinear` for the x-axis, and `d3.scaleBand` for the y-axis. Axis customization includes tick formatting with `d3.format` (converting values to billions), removal of default axis lines, and styled tick marks. The SVG rendering is built with D3 v5, and the data originally comes from the United Nations World Population Prospects 2017.

AI-generated description

This 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.

MIT Licensed

Similar vizzes