Fork of Making a Bar Chart
✓ Published0🌍 Public
This fork of a D3 bar chart displays the population of the ten most populous countries, based on 2018 estimates from the United Nations’ World Population Prospects 2017. The visualization uses D3 v5’s `scaleLinear` and `scaleBand` to map population values and country names to SVG rectangles, with axes generated by `axisLeft` and `axisBottom`. Data is loaded from a CSV file via `d3.csv`, and each population value is multiplied by 1000 to reflect actual figures. The chart renders purely as SVG, with steelblue bars.
AI-generated descriptionThis bar chart shows population of 10 most populos countris.The data comes from the year 2018 estimate in United Nations:World Population Prospects 2017.
MIT Licensed