Skip to main content
100%

Fork of Customizing Axes

✓ Published1🌍 Public
JJuyeonee
Last edited Jul 19, 2021
Created on Jul 19, 2021
Forked from Customizing Axes

This bar chart displays the population of the top 10 most populous countries, using data from the 2017 United Nations World Population Prospects. The visualization demonstrates custom D3 axes, including a formatted x-axis for populations in billions and a categorical y-axis for country names. The chart is rendered as SVG using `d3.scaleLinear`, `d3.scalePoint`, `d3.axisBottom`, and `d3.axisLeft`. Tick lines extend across the plot area, and the domain lines are removed, while the x-axis label and title are added via D3 text elements.

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