Skip to main content
100%

Customizing Axes

✓ Published0🌍 Public
Aamazighy
Last edited May 18, 2020
Created on May 18, 2020
Forked from Customizing Axes

This horizontal bar chart displays the top 10 most populous countries using 2018 United Nations estimates. It shows how D3 axes can be customized by removing gridlines and domain paths, adding a pink axis label, and formatting population values using `d3.format('.3s')`. The chart uses `d3.scaleLinear` for the x-axis and `d3.scaleBand` for the y-axis, rendered as SVG via D3 v5.

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