Skip to main content
100%

Customizing Axes

✓ Published1🌍 Public
Aatree-rohit
Last edited Aug 18, 2020
Created on Aug 18, 2020
Forked from Bar Chart

This bar chart displays the populations of the top 10 most populous countries, based on 2017 United Nations data. It uses d3.scaleLinear and d3.scaleBand to map population values and country names, with axes customized via d3.axisBottom and d3.axisLeft. Tick labels are formatted with d3.format, converting G to B for billions, and gridlines are created using negative tick sizes. The SVG rendering includes a title, axis labels, and steel-blue bars, with CSS styling for tick text and font sizes.

AI-generated description

This Bar Chart shows population of the top 10 most populous countries. [United Nations: The World Population Prospects 2017] (www.google.com).

MIT Licensed

Similar vizzes