Skip to main content
100%

Customizing Axes

✓ Published0🌍 Public
MMichael Todd
Last edited May 19, 2020
Created on May 19, 2020
Forked from Customizing Axes

A horizontal bar chart displays population data for the top ten most populous countries from a CSV file. The visualization customizes both axes: the bottom axis uses a linear scale with tick formatting that abbreviates large numbers, replacing 'G' with 'B' for billions, while the left axis removes domain lines and tick marks. D3 v5's `scaleBand`, `scaleLinear`, `axisBottom`, and `axisLeft` are used, with grid lines extending from the y-axis ticks. The SVG chart omits the x-axis domain line and removes the left axis decorations for a cleaner look.

AI-generated description
MIT Licensed

Similar vizzes