Skip to main content
100%

Customizing Axes

✓ Published0🌍 Public
Mmartinovicb
Last edited Jul 19, 2019
Created on Jul 19, 2019
Forked from Customizing Axes

This bar chart displays the population of the top 10 most populous countries using data from the 2018 United Nations World Population Prospects estimate. It demonstrates customized D3 axes, including a formatted x-axis tick label that abbreviates values (e.g., converting billions) and removing gridlines and domain lines. The visualization uses d3.scaleLinear and d3.scaleBand to map populations and countries, with axes created via d3.axisBottom and d3.axisLeft, rendered as SVG. The chart also includes custom axis and title text styling through CSS.

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