Skip to main content
100%

Making a bar chart

✓ Published0🌍 Public
AAishwaryaJayaram
Last edited Apr 14, 2020
Created on Apr 14, 2020
Forked from Making a bar chart

This example shows the top 10 most populous countries in 2018 using a horizontal bar chart, with population values from the United Nations World Population Prospects. The chart uses D3 v5 to load the CSV data, scale linear for the x-axis and scale band for the y-axis, and customizes the axis with formatted tick labels and removed gridlines. Bars are rendered as SVG rectangles.

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