Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Custamization of axis

Public visualization

Viewing a saved revision (read-only)

4d30a7142a5e4f04aade1024c4b59468

Custamization of axis

0 stars0🌍 Public
HHimanshu Chelani
Last edited Apr 7, 2020
Created on Apr 6, 2020
Forked from HTML Starter

This example shows a horizontal bar chart of the top 10 countries by population, with a customized axis that formats large population values into abbreviated units like "B" for billions. The chart uses d3.scaleLinear and d3.scaleBand for positioning, while d3.axisLeft and d3.axisBottom render the axes with custom tick formatting via d3.format. The implementation loads data from a CSV file, removes default axis domain lines, and adds labels for the population axis and chart title.

AI-generated description

A bare minimum HTML page.

See also React Starter.