Skip to main content
100%

Customizing Axis

✓ Published2🌍 Public
RRod Potter
Last edited Apr 24, 2019
Created on Apr 24, 2019
Forked from Making a bar chart

This example displays a horizontal bar chart of the top 10 most populous countries, with population values read from a CSV file. The chart customizes both axes: the y-axis removes domain lines and ticks, while the x-axis uses `d3.axisBottom` with a custom formatting function that converts millions to abbreviations like “B” for billion. The SVG rendering uses `d3.scaleLinear` and `d3.scaleBand` to map data, with grid lines created via the x-axis tick size.

AI-generated description

This is about customizing axis.

MIT Licensed

Similar vizzes