Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Customizing Axes

Public visualization

Viewing a saved revision (read-only)

3e7d2d5c7cf048efa4b01e0552fcabf4

Fork of Customizing Axes

0 stars0🌍 Public
MMajaha21
Last edited Apr 7, 2021
Created on Apr 7, 2021
Forked from Cars Scatter Plot

This example displays a horizontal bar chart of the populations of the ten most populous countries, using data from a CSV file. The chart ranks countries from largest to smallest, with bars colored steelblue and clear axis labels. It uses D3 v6 APIs such as `d3.csv`, `d3.scaleBand`, `d3.scaleLinear`, `d3.axisLeft`, and `d3.axisBottom`. The code customizes axes by removing domain lines, adding grid lines, and formatting tick labels to show values in billions.

AI-generated description