🌍 Public
Viewing a saved revision (read-only)
bf66f2c1a1844ce39e2b0d730368cbfe
activity6_Task1_Answer1.1
This horizontal bar chart visualizes the population of the ten most populous countries in the year 2000, with the x-axis representing population counts (formatted in billions) and the y-axis listing country names. The chart uses D3.js (v7) to load and parse CSV data from a GitHub repository, then renders light green bars using SVG rectangles. The implementation constructs linear and band scales for the axes, positions axis labels manually, and applies tick formatting to convert numbers into a readable format. The visualization employs a clean, minimal design with clear grid alignment and a 900×500 pixel viewport.
AI-generated description