Skip to main content
100%

Customizing axes

✓ Published1🌍 Public
MMuiruriscode
Last edited Oct 4, 2021
Created on Oct 4, 2021

This bar chart displays the population of Sub-Saharan African countries in 1950, using data from the United Nations World Population Prospects 2017. The visualization customizes both axes: the y-axis removes its domain and tick lines for a cleaner look, while the x-axis formats population values with d3’s `format('.3s')` and adds negative tick sizes to create gridlines. Built with d3.scaleBand and d3.scaleLinear, the chart renders as SVG rectangles with a steelblue fill and includes a title and axis label.

AI-generated description

This data shows the sub saharan population in the year 1950. The data comes from the year 2018 prospects United Nations: World population prospects 2017

MIT Licensed

Similar vizzes