activity 6_Task 1
✓ Published0🌍 Public
This visualization displays population data for 30 countries in 2020 as a horizontal bar chart, with country names on the y-axis and population values on the x-axis. The chart uses React to render SVG elements, with D3 v5 providing the scale functions (`scaleBand`, `scaleLinear`) and CSV data loading via `d3.csv`. Data is sourced from a GitHub-hosted CSV file, formatted with the `d3.format` function to abbreviate large numbers. The gradient bars are colored light green, and hovering reveals population values through native SVG tooltips.
AI-generated descriptionMIT Licensed