Fork of Activity6_Question1(1)
✓ Published0🌍 Public
This chart displays the population of ten countries in the year 2000 as horizontal bars, with country names on the y-axis and population on the x-axis. The visualization uses React components to render SVG elements, with d3.scaleBand for the categorical y-axis and d3.scaleLinear for the quantitative x-axis. AxisBottom and AxisLeft components generate ticks and labels, while Marks renders the rectangles. Data is loaded from a CSV file via d3.csv, and tick labels are formatted using d3.format with abbreviations.
AI-generated descriptionMIT Licensed