Skip to main content
100%

Making a Bar Chart

✓ Published1🌍 Public
RRicardFabien
Last edited Mar 2, 2020
Created on Mar 2, 2020
Forked from Making a Bar Chart

This bar chart displays the population of the top 10 most populous countries from the 2018 United Nations World Population Prospects estimate, with each bar’s length scaled by population and countries listed on the y-axis. The visualization uses D3 v5’s `csv` loader to parse the data, `scaleLinear` for the x-axis, `scaleBand` for the y-axis, and `axisBottom` with custom tick formatting (e.g., converting billions to "B") and a population axis label. It renders to SVG, with a title, removed axis domain lines, and steelblue bars.

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. It also demonstrates customization of D3 axes.

MIT Licensed

Similar vizzes