Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Customizing Axes

Public visualization

Customizing Axes

0 stars1🌍 Public
Rratschke
Last edited Feb 6, 2020
Created on Feb 6, 2020
Forked from Making a bar chart

This bar chart displays the populations of the top 10 most populous countries, using D3.js v5 to render SVG. The chart customizes the x-axis to show abbreviated population values in billions by using D3's `scaleLinear`, `scaleBand`, and `axisBottom` with a tick format that replaces "G" with "B". It also removes default axis lines and tick marks on the y-axis, adds a custom axis label, and applies a title. Population data is loaded from a CSV file.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed