Skip to main content
100%

Customizing Axes

✓ Published0🌍 Public
SSagarikaS
Last edited Oct 6, 2019
Created on Oct 4, 2019
Forked from Customizing Axes

This example displays a horizontal bar chart of the top 10 most populous countries, with population values shown in billions and a custom axis label. Built with D3.js v5, it uses `d3.scaleLinear` and `d3.scaleBand` to map data from `data.csv`, and `d3.axisBottom` with a custom tick format that converts gigabytes to billions. The y-axis removes its domain and tick lines, while a title and axis label are added as SVG text elements.

AI-generated description
MIT Licensed

Similar vizzes