Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Customizing Axes

Public visualization

Viewing a saved revision (read-only)

1aff79b642264337bf5140a7fa270a5c

Customizing Axes

0 stars0🌍 Public
NNarong
Last edited Nov 26, 2019
Created on Nov 26, 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, with values derived from the data.csv file. The visualization emphasizes customized D3 v5 axes: the y-axis strips its domain and tick lines for a cleaner look, while the x-axis formats tick labels (converting G to B) and extends tick lines across the chart. The implementation uses `d3.scaleLinear`, `d3.scaleBand`, `d3.axisBottom`, and `d3.axisLeft`.

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.