Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Costomizing Axes

Public visualization

Viewing a saved revision (read-only)

1ffde92c58c84b6fbe992335cdab6e13

Costomizing Axes

0 stars0🌍 Public
PPourmahmood
Last edited Nov 13, 2020
Created on Nov 10, 2020
Forked from Making a Barchart

This example displays a horizontal bar chart of the top 10 most populous countries, with population values labeled in billions using a custom tick format that converts “G” to “B.” The chart strips default axis lines and gridlines, using only tick marks and labels, while adding axis and title text. The visualization is built with D3 v5, using `scaleLinear`, `scaleBand`, `axisLeft`, and `axisBottom`, and renders as SVG. Data is loaded from a CSV file via `d3.csv`, with population values scaled by 1,000.

AI-generated description