Activity6 Task_1
✓ Published0🌍 Public
This bar chart displays the 2020 population estimates for the top 30 countries, sourced from a CSV file hosted on GitHub. The visualization uses a horizontal layout where each bar's length represents population values, with a custom tooltip showing the formatted figure. The chart is built with React, using D3 v5 functions like `scaleBand` and `scaleLinear` for coordinate mapping, and SVG `rect` elements for rendering. The axes are drawn with custom components, and the x-axis labels are formatted using D3's `format('.2s')` to abbreviate large numbers (e.g., 'B' for billions).
AI-generated descriptionMIT Licensed