activity6_Task1.2
✓ Published1🌍 Public
This bar chart displays the population figures for the top 20 countries in 2020, presented in descending order along a horizontal axis. Each country is represented by a light green rectangle, with the population values read from a CSV dataset hosted on GitHub. The visualization is built using D3.js v7, leveraging `d3.scaleLinear` for the x-axis and `d3.scaleBand` for the categorical y-axis. The axes are rendered via `d3.axisBottom` and `d3.axisLeft`, with custom tick formatting that abbreviates large numbers using suffixes like "B" for billions.
AI-generated descriptionMIT Licensed