Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Customizing Axes

Public visualization

Viewing a saved revision (read-only)

1bb7d5a8a7e84ab29fb68e8326859a48

Fork of Customizing Axes

0 stars0🌍 Public
Oopenbracketdesign
Last edited Mar 8, 2021
Created on Mar 8, 2021
Forked from Customizing Axes

This bar chart displays the top 10 most populous countries using 2018 United Nations population estimates, showing population values on the x-axis and country names on the y-axis. The chart customizes the D3 v5 axis elements: the left axis lines and domain are removed, while the bottom axis uses tick lines extending inward and a custom tick format that converts billions to a concise scale. The visualization, rendered as SVG, uses `d3.scaleLinear`, `d3.scaleBand`, `d3.axisBottom`, and `d3.axisLeft` from the D3 library, with data loaded from a CSV file.

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.