🌍 Public
Viewing a saved revision (read-only)
86601a24d68d4ab6ab70535b0e1e1668
Fork of Fork of ACTIVITY_6_TASK1
This horizontal bar chart displays the population of the top 30 countries in 2020, with each country represented by a lightgreen bar scaled against a linear population axis. The visualization uses d3.v7 with SVG rendering, employing d3.scaleLinear for the x-axis and d3.scaleBand for the y-axis. The code loads CSV data from a GitHub repository, formats population values with d3.format to show abbreviations like "200B", and applies margins and axis labels for clarity. Both axes include custom tick formatting and rotated text labels.
AI-generated description