Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Customizing axes

Public visualization

Viewing a saved revision (read-only)

4d7d1ee696e74a3c8bd74d762b00f60e

Customizing axes

0 stars1🌍 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