🌍 Public
Viewing a saved revision (read-only)
c3e4b01c65db4b65a42f8124d0d32230
Activity6_Task1 _1
This horizontal bar chart displays the population of ten countries in the year 2000, sorted from highest to lowest. The chart uses d3.scaleLinear for the x-axis and d3.scaleBand for the y-axis, rendering bars as SVG rectangles with a fixed coral fill. It draws axes with d3.axisBottom and d3.axisLeft, and the data is loaded from a CSV file using d3.csv. Labels for “Population - 2000” and “Countries” are added with SVG text elements.
AI-generated description