Bar Chart top 30 Countries Population (vertical) with CSV
✓ Published1🌍 Public
This bar chart displays the population of the top 30 countries in 2020, with a vertical layout where each country is listed along the y-axis and population counts extend horizontally. The data originates from the Kaggle World Population Prospects 2020 dataset, loaded as a CSV. The visualization uses D3 v5 with scaleLinear, scaleBand, axisLeft, and axisBottom to position bars and axes, while customizing tick formatting to abbreviate numbers with suffixes like “B” for billions. The SVG rendering includes styled rectangles and a custom font from Google Fonts.
AI-generated descriptionThis bar chart shows population of the top 30 countries. The data comes from the year 2020 Kaggle: World Population Prospects 2020. It also demonstrates customization of D3 axes.
MIT Licensed