Skip to main content
100%

making a bar chart!

✓ Published0🌍 Public
Ssgzzhinde
Last edited Dec 18, 2020
Created on Dec 18, 2020
Forked from customizing Axes

This bar chart shows the population of the 10 most populous countries in 2018, using data from the United Nations World Population Prospects 2017. The visualization uses D3 v6 with SVG rendering, employing `d3.scaleLinear` for the x-axis population scale and `d3.scaleBand` for the categorical y-axis of country names. Axes are generated with `d3.axisBottom` and `d3.axisLeft`, with tick formatting converting values to billions. Rectangles represent each country’s population, and the chart includes axis labels and a title.

AI-generated description

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

MIT Licensed

Similar vizzes