Skip to main content
100%

v1_Fork of Customizing Axes

✓ Published0🌍 Public
SsunilthkGmail
Last edited Jan 23, 2023
Created on Jan 23, 2023
Forked from Customizing Axes

This bar chart displays the top 10 most populous countries based on 2018 United Nations estimates, with population values from a CSV file scaled by 1,000. The visualization uses D3 v5’s `scaleLinear`, `scaleBand`, `axisBottom`, and `axisLeft` to render SVG bars, while customizing axes by removing domain lines, applying tick formatting that converts billions to “B” via `format('.3s')`, and adding axis labels. The chart also demonstrates styling tick text, gridlines, and the title through CSS classes.

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