Skip to main content
100%

Customizing Axes

✓ Published1🌍 Public
JJosé
Last edited Jul 18, 2020
Created on Jul 18, 2020
Forked from Customizing Axes

This visualization displays the top 10 most populous countries using a circle-based bar chart with customized D3 axes. The data derives from the 2018 United Nations World Population Prospects, with population values scaled by 1000 for readability. The code uses `d3.csv`, `scaleLinear`, `scalePoint`, `axisBottom`, and `axisLeft` to render the SVG chart. Axis customizations include a tick formatter that converts billions (G) to billions (B), removed domain lines, left-aligned country labels, and a custom y-axis label positioned below the x-axis.

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