Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Customizing Axis

Public visualization

Customizing Axis

0 stars2🌍 Public
CChristoph Diefenthal
Last edited Mar 18, 2020
Created on Mar 4, 2020

This bar chart displays the top 10 most populous countries using a horizontal layout, with population values on the x-axis and country names on the y-axis. The chart uses D3 v5 APIs including `scaleLinear`, `scaleBand`, `axisBottom`, and `axisLeft`. The axis is customized by removing the default domain lines and ticks, adding a custom tick format that converts large numbers to abbreviated forms (e.g., G to B), and including axis labels and a title. Data comes from World Population Prospects 2017, loaded from a CSV file.

AI-generated description

Data from World Poupulation Prospects 2017

Comments

Sign in to join the discussion.

MIT Licensed