Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Customizing Axes

Public visualization

Customizing Axes

0 stars1🌍 Public
TTebid Quinsy
Last edited Dec 24, 2020
Created on Dec 23, 2020

A horizontal bar chart displays the 18 most populated countries in 2020, using UN population estimates. The chart customizes both axes: the y-axis removes tick lines and domain, while the x-axis formats population values in billions using D3's `format('.3s')` and adds a custom label. Bars are red rectangles on a blue background, with a title above. The visualization uses D3 v5 with `scaleLinear`, `scaleBand`, `axisLeft`, and `axisBottom` to render SVG elements.

AI-generated description

Working with D3.js

Comments

Sign in to join the discussion.

MIT Licensed