Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Customizing Axes

Public visualization

Customizing Axes

0 stars0🌍 Public
LLonwabo11
Last edited May 6, 2019
Created on May 3, 2019
Forked from Customizing Axes

This visualization displays a horizontal bar chart of the top 10 most populous countries in the world, using a linear scale for population and a band scale for country names. The chart customizes the x-axis tick format to show values in billions by using D3's `format` function and replacing 'G' with 'B', while removing the y-axis domain and tick lines for a cleaner look. Data is loaded from a CSV file, with population values multiplied by 1000, and rendered as blue rectangles using D3 v5's scale functions and SVG.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed