Skip to main content
100%

Making a Bar Chart

✓ Published2🌍 Public
AAditya-me
Last edited Apr 2, 2020
Created on Apr 1, 2020
Forked from Making a Bar Chart

This example shows the populations of the top 10 most populous countries from a 2018 United Nations estimate, displayed as circles on an SVG bar chart with customized axes. The code uses D3 v5’s `csv` loader, `scaleLinear`, and `scalePoint` to map data values, while `axisBottom` and `axisLeft` apply tick formatting. Axis grid lines and labels are styled via CSS, and the chart includes a title. The accompanying video walks through building the visualization step by step.

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