Skip to main content
100%

Customizing Axes

✓ Published0🌍 Public
AAreum Jo
Last edited Oct 12, 2019
Created on Oct 12, 2019
Forked from Customizing Axes

This bar chart displays the top 10 most populous countries using 2018 population estimates from the United Nations World Population Prospects. It highlights axis customization, including formatted tick labels, removed domain lines, and custom text for the title and axis label. The code uses D3 v5 with `scaleLinear`, `scaleBand`, `axisLeft`, `axisBottom`, and `format`. The SVG render pulls data from a CSV, scaling population values by 1,000 for display.

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