Skip to main content
100%

Customizing Axes

✓ Published1🌍 Public
HHarish M A
Last edited Jul 21, 2020
Created on Jul 5, 2020
Forked from Making a Bar Chart

This bar chart displays the population of the top ten most populous countries, with data from the UN’s 2020 World Population Prospects estimate. The visualization customizes both axes: a horizontal linear scale formats tick labels (e.g., abbreviating billions as “B”) and draws grid lines, while a vertical band scale removes its axis line and tick marks. D3 v5’s `scaleLinear`, `scaleBand`, `axisBottom`, `axisLeft`, and `format` are used, with SVG rendering for bars and labels.

AI-generated description

This bar chart shows population of top ten most populous countries. The data comes from the year 2020 estimate in UN : World Population Prospects 2020.

MIT Licensed

Similar vizzes