Activity_6 Q1.1
✓ Published0🌍 Public
This horizontal bar chart displays the population of ten countries in the year 2000, with bars extending rightward from a shared baseline. The visualization uses React to render an SVG, with D3’s `scaleBand` for the categorical y-axis and `scaleLinear` for the numeric x-axis. Colored green with blue tick lines, each bar includes a tooltip showing the formatted population value (e.g., “1.2B”). The data is loaded from a remote CSV using D3’s `csv` parser, which multiplies the raw values by 1000 to obtain the final population figures.
AI-generated descriptionMIT Licensed