Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Customising axes

Public visualization

Viewing a saved revision (read-only)

63fea651e9ef4fb9a95349c375e0bfd8

Customising axes

0 stars1🌍 Public
Eevapavlinek
Last edited Apr 7, 2020
Created on Apr 7, 2020
Forked from Bar chart

A horizontal bar chart displays population data for ten countries, with custom tick formatting abbreviating numbers by converting "G" to "B" for billions. The example uses d3.csv to load data, d3.scaleBand and d3.scaleLinear for scales, and d3.axisBottom with d3.axisLeft for axes. Custom styling removes default domain lines and adds a centered axis label and title, while tick lines extend across the chart using d3.axisBottom’s tickSize.

AI-generated description