Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Customizing Axes

Public visualization

Customizing Axes

0 stars0🌍 Public
Zzren2
Last edited Mar 13, 2019
Created on Mar 13, 2019
Forked from Customizing Axes

A horizontal bar chart displays population figures for the top 10 most populous countries, with data derived from the 2018 United Nations World Population Prospects estimate. The visualization customizes both axes: the y-axis removes its domain and tick lines, while the x-axis uses a `d3.axisBottom` scale with a tick format that converts gigayears to billions, and gridlines extend across the plot. The chart is rendered as SVG using D3 v5, with countries arranged on a `d3.scaleBand` y-axis and bars drawn as `rect` elements.

AI-generated description

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

Comments

Sign in to join the discussion.

MIT Licensed