Making a Bar Chart
✓ Published0🌍 Public
This bar chart displays the top 10 most populous countries using 2018 United Nations population estimates. The visualization orders countries along a vertical band scale with horizontal bars representing population values, using a linear scale. Customized axes include abbreviated tick labels (e.g., “B” for billions) and grid lines. The code uses d3.csv, scaleLinear, scaleBand, axisBottom, and axisLeft within D3 v5, rendering as SVG with styling from an external stylesheet.
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