Activity6_Task1 _1
✓ Published0🌍 Public
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 descriptionActivity6_Task1_Q1 Bar Chart
MIT Licensed