Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Customizing Axes

Public visualization

Viewing a saved revision (read-only)

619e335480624f18b05049579f4ce5c5

Customizing Axes

0 stars0🌍 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