Skip to main content
100%

Making a bar chart

✓ Published6🌍 Public
JJenny
Last edited Jul 14, 2019
Created on Jul 10, 2019
Forked from Hello VizHub

This bar chart displays the population of the top 10 most populous countries, with China and India leading by a significant margin. The visualization uses D3 v5’s `scaleLinear` for the x-axis and `scaleBand` for the y-axis, rendering SVG rectangles. Data comes from the World Population Prospect 2017, with raw values multiplied by 1000. The chart includes formatted tick labels via `axisBottom` with a custom `.3s` format, a population axis label, and a title, all styled with tomato-colored bars and a Ubuntu font.

AI-generated description

The bar chart show population of the top of 10 most popluois countries. The data comes from World Population Prospect 2017.

MIT Licensed

Similar vizzes