Skip to main content
100%

customizing Axes

✓ Published2🌍 Public
Ssgzzhinde
Last edited Dec 30, 2020
Created on Dec 18, 2020

A bar chart displays population counts for the ten most populous countries, using data from the 2017 UN World Population Prospects. The chart customizes axes by removing domain lines, adding a population axis label, and formatting tick labels with d3.format to abbreviate numbers (e.g., converting G to B). Built with D3 v6, it uses scaleLinear and scaleBand for scales, axisLeft and axisBottom for axes, and SVG rendering.

AI-generated description

This bar chart shows population of the 10 most populous countries. The data comes from the year 2018 in United Nations World Population Prospects 2017

MIT Licensed

Similar vizzes