Skip to main content
100%

Customizing Axes

✓ Published0🌍 Public
AAkshada Pradhan
Last edited May 15, 2020
Created on May 15, 2020
Forked from Customizing Axes

This bar chart shows the top 10 most populous countries from the 2018 United Nations population estimates. It demonstrates customized D3 axes, with a bottom axis formatted using `format('.3s')` to abbreviate large population numbers, and a left axis stripped of its line and domain. The chart uses `scaleLinear` for population and `scaleBand` for country names, with tick lines spanning the full inner height. The data comes from a CSV file loaded via `csv('data.csv')`, and the chart is rendered as SVG.

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