Skip to main content
100%

Customizing Axes

✓ Published1🌍 Public
MMargarita Chernetski
Last edited Jul 16, 2020
Created on Jul 16, 2020
Forked from Making A Bar Chart

This bar chart displays the top 10 most populous countries using 2018 estimates from the United Nations World Population Prospects. The visualization customizes its axes: the y-axis removes domain and tick lines, while the x-axis uses a tick format that abbreviates numbers (e.g., converting G to B) and adds a population label. Built with D3 v5, it uses `scaleLinear`, `scaleBand`, `axisBottom`, and `axisLeft` within an SVG rendering. The chart also includes grid lines via `tickSize(-innerHeight)` and a title.

AI-generated description

This bar charts shows population of the top 10 most populous countries. The data comes from the year 2018 estimate in United Nations: World Population Prospects 2017

MIT Licensed

Similar vizzes