Skip to main content
100%

CUSTOMIZING AXES YO

✓ Published1🌍 Public
EEvan Chang
Last edited Feb 19, 2020
Created on Feb 19, 2020
Forked from BARCHART BABY

A horizontal bar chart displays population figures for the ten most populous countries, with values read from a CSV file and scaled using `d3.scaleLinear` and `d3.scaleBand`. The chart customizes both axes: the bottom axis uses `d3.axisBottom` with tick formatting that converts large numbers to billions via `d3.format`, while the left axis removes tick lines through `axisLeft`. Axis labels and a title are added as SVG text elements, and bars are rendered as SVG `<rect>` elements with steelblue fill.

AI-generated description
MIT Licensed

Similar vizzes