Skip to main content
100%

activity6_q2

✓ Published0🌍 Public
MMili Patel
Last edited Mar 29, 2025
Created on Mar 29, 2025
Forked from act6_Q.2_11719493

This horizontal bar chart displays the top 20 countries by population in 2010, using the d3.scaleBand and d3.scaleLinear API to map country names and population values to SVG rectangles. The data is loaded via d3.csv from a Gist, then sorted and filtered. The chart includes axes from AxisBottom and AxisLeft, with a lightgreen fill for each bar and dynamic tick formatting that converts large numbers to billions.

AI-generated description
MIT Licensed

Similar vizzes