Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Customizing Axes

Public visualization

Customizing Axes

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

This horizontal bar chart displays population figures for nine countries using an SVG rendering. The visualization customizes both axes: the y-axis removes domain and tick lines to focus on country labels, while the x-axis formats population values using `format('.3s')` and replaces the suffix "G" with "B". D3 v5 functions including `scaleLinear`, `scaleBand`, `axisLeft`, and `axisBottom` construct the scales and axes. The chart reads population data from a CSV file, multiplying each value by 1,000 to represent actual population counts.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed