Skip to main content
100%

Customizing Axis

✓ Published0🌍 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

MIT Licensed

Similar vizzes