Activity-6_Q1.1
✓ Published1🌍 Public
This horizontal bar chart displays the populations of ten countries in the year 2000, sorted from largest to smallest. The chart uses React components to render SVG marks, with d3.scaleBand and d3.scaleLinear handling the y and x axes respectively. Data is loaded from a CSV file using d3.csv, and population values are formatted with d3.format for the axis tick labels, which use a compact notation (e.g., "B" for billions).
AI-generated descriptionMIT Licensed