Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Customizing Axis.js

Public visualization

Viewing a saved revision (read-only)

89ec0825e3cc4810b065939b07ea1be6

Customizing Axis.js

0 stars0🌍 Public
RResl411
Last edited Nov 6, 2019
Created on Nov 6, 2019

A horizontal bar chart displays the ten most populous countries from a CSV file, with population values scaled to thousands. The chart uses D3 v5 to create linear and band scales for axes, while customizing axis elements by removing domain lines and tick marks from the left axis. Axis labels and tick formatting abbreviate population numbers using `format('.3s')`, replacing G with B for billions. The title "Top 10 Most Populous Countries" appears above the chart, with steelblue bars rendered in SVG.

AI-generated description