Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Formatting Axis

Public visualization

Viewing a saved revision (read-only)

810b35b20ebc4ba9a6d4432ddff6851b

Formatting Axis

0 stars0🌍 Public
Rrebeccayc
Last edited Jan 20, 2020
Created on Jan 20, 2020
Forked from Making a Bar Chart

This example displays a horizontal bar chart of the top 10 most populous countries, with population values formatted using a custom tick format that replaces "G" with "B" for billions. The chart uses d3.csv to load the data, d3.scaleLinear and d3.scaleBand for positioning, and d3.axisLeft and d3.axisBottom to render axes with tick lines extending across the plot. The SVG rendering includes a title, axis labels, and steelblue rectangles for each bar.

AI-generated description