Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Customizing Axis

Public visualization

Viewing a saved revision (read-only)

80e32fd5b5e94a08a35c00d649569362

Customizing Axis

0 stars1🌍 Public
ÁÁlvaro Cáceres Muñoz
Last edited Feb 13, 2021
Created on Feb 13, 2021
Forked from Making a Bar Chart

This bar chart displays the top 10 most populous countries, with population values formatted in billions using a custom tick formatter that replaces "G" with "B" in d3.format output. The chart uses d3.csv, scaleLinear, scaleBand, axisBottom, and axisLeft to render horizontal bars, with gridlines extending from x-axis ticks. A title and axis label are added via SVG text elements, and the y-axis domain lines and tick marks are removed while the x-axis domain is hidden, leaving a clean, focused visualization.

AI-generated description