Skip to main content
100%

Customizing Axes

✓ Published12🌍 Public
IImmaculata-Mary Muoghalu
Last edited May 11, 2021
Created on Apr 17, 2021
Forked from Making a bar chart

This bar chart displays the population of the top 10 most populous countries using 2018 UN estimates. The chart uses d3.csv, d3.scaleLinear, and d3.scaleBand to map population values to horizontal bar lengths and country names to vertical positions. Customized axes include a formatted tick label that converts large numbers to abbreviated units, horizontal grid lines, and a labeled x-axis. Each bar is colored according to a value in the data, and the chart includes a title and styled text elements.

AI-generated description

This bar chart shows population of the top 10 most populous countries. The data is sourced from 2018 estimate from the link: https://esa.un.org/unpd/wpp/download/standard/population/

MIT Licensed

Similar vizzes