Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

customizing axis

Public visualization

Viewing a saved revision (read-only)

7ab7990b72174f98a6ff63e48653e487

customizing axis

0 stars1🌍 Public
Llarsboergo
Last edited Feb 10, 2021
Created on Feb 10, 2021
Forked from Making a Bar Chart

This example shows a horizontal bar chart of the world’s top 10 most populous countries, using population data from a CSV file. The chart customizes its axes by removing default domains and tick lines, applying a tick format that abbreviates large numbers (e.g., converting billions to “B”), and adding a styled axis label. Built with D3 v6, it uses `scaleLinear`, `scaleBand`, `axisLeft`, and `axisBottom` to render the SVG, with a custom `tickFormat` for the x-axis.

AI-generated description