Making a Bar Chart
✓ Published0🌍 Public
A bar chart displays the populations of the top 10 most populous countries, using 2018 United Nations estimates. The chart presents data from a CSV file, with population values scaled by a factor of 1,000. It uses D3 v5 with `scaleLinear` and `scaleBand` for scales, `axisBottom` and `axisLeft` for axes, and SVG rendering with custom tick formatting. A YouTube tutorial accompanies the example.
AI-generated descriptionThis 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