Skip to main content
100%

Fork of Customizing Axes

✓ Published0🌍 Public
HHojjat Karami
Last edited Mar 30, 2023
Created on Mar 30, 2023
Forked from Customizing Axes

This bar chart displays the population of the top 10 most populous countries using 2018 estimates from the United Nations World Population Prospects. It shows how D3 axes can be customized, including tick formatting, removal of axis lines, and addition of axis labels. The visualization uses d3.csv to load data, d3.scaleLinear and d3.scaleBand for scales, and d3.axisLeft and d3.axisBottom with custom tick formatting that converts units from billions to millions. SVG rendering with CSS styling for fonts and colors is employed.

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