Skip to main content
100%

Customizing Axes

✓ Published0🌍 Public
Cchrischism8063
Last edited Jul 25, 2019
Created on Jul 19, 2019

A horizontal bar chart displays population estimates for 25 countries in 2020, ranked from most to least populous. The chart reads from a CSV file and uses D3's `scaleLinear`, `scaleBand`, `axisLeft`, and `axisBottom` to construct the visualization. Custom tick formatting converts large numbers into abbreviated text, replacing "G" with "B" for billions. The SVG output includes a title, axis labels, and styled bars with a steelblue fill.

AI-generated description
MIT Licensed

Similar vizzes