Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Customizing Axis

Public visualization

Viewing a saved revision (read-only)

a942ad591dbe4cfa9daf8b79459008dd

Customizing Axis

0 stars0🌍 Public
Mmmustafau
Last edited Feb 5, 2020
Created on Feb 5, 2020
Forked from Customizing Axis

A horizontal bar chart displays the ten most populous countries, with population values along the x-axis and country names on the y-axis. The chart uses d3.scaleLinear and d3.scaleBand to map data, while d3.axisBottom and d3.axisLeft render axes with customized tick formatting that abbreviates large numbers (e.g., converting "G" to "B" for billions). Axis lines and ticks are selectively removed using D3 selections, and the data is loaded from a CSV file with populations multiplied by 1,000.

AI-generated description

following FCC youtube channel on D3