π Public
Activity 6_Task 1_Q1.2
This bar chart displays the 2010 population figures for the top 20 countries, sorted in descending order. The visualization uses D3 v7 with ES6 modules to load CSV data from a GitHub repository, then renders the bars as SVG rectangles. A linear x-scale encodes population values while a banded y-scale positions each country, with axes generated using d3.axisBottom and d3.axisLeft. The chart is built through modular functions for data handling, axis creation, and mark rendering.
AI-generated descriptionMIT Licensed
Comments
Sign in to join the discussion.