Data as bar chart
✓ Published1🌍 Public
A horizontal bar chart ranks the twenty most populous countries, showing population counts with steel-blue bars and labeled axes. Built with D3 v6, the visualization loads CSV data from Kaggle, maps populations to a linear scale and countries to a band scale, and renders the chart as SVG. The code uses `d3.scaleLinear`, `d3.scaleBand`, `d3.axisLeft`, and `d3.axisBottom` to construct the scales and axes.
AI-generated descriptionA basic example of D3.JS usage for building bar charts
The data comes from Kaggle.com: Population by country - 2020 dataset
MIT Licensed