Skip to main content
100%

Customizin Axes -vertical bar chart

✓ Published0🌍 Public
NNita
Last edited Sep 7, 2018
Created on Sep 5, 2018
Forked from Customizing Axes

This bar chart displays the population of the top 10 most populous countries, with data from the 2017 United Nations World Population Prospects (2018 estimates). The chart uses a vertical bar layout on a linear scale for population, with country names on the categorical axis. Built with D3 v5, the code uses `d3.scaleLinear`, `d3.scaleBand`, `d3.axisBottom`, and `d3.axisLeft` to construct the visualization. SVG rendering includes custom axes with tick formatting (e.g., "1.4B") and a styled title.

AI-generated description

This bar chart 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