Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Customizing Axes

Public visualization

Viewing a saved revision (read-only)

fed1830f697d40388608200a3f1bd372

Customizing Axes

0 stars1🌍 Public
LLinn
Last edited Oct 15, 2019
Created on Oct 15, 2019
Forked from Bar Charts

This example displays a horizontal bar chart of the female population as a percentage of the total, using 2018 World Bank data for ten countries. The chart customizes both axes by removing their domain lines, formatting the x-axis ticks as percentages, and adding axis labels. It uses D3 v5’s `scaleBand` for the categorical y-axis, `scaleLinear` for the numeric x-axis, and `axisBottom` and `axisLeft` to render the ticks and grid lines.

AI-generated description

This bar chart shows the female Population (% of total). The data comes from the year 2018. World Bank staff estimates based on age/sex distributions of United Nations Population Division's World Population Prospects