activity 6_Task 1
✓ Published0🌍 Public
This horizontal bar chart displays the 2020 populations of the first 30 countries from a CSV file fetched via `d3.csv`. Rendered as an SVG using React, the visualization maps country names on the y-axis using `d3.scaleBand` and population values on the x-axis via `d3.scaleLinear`. Light green bars represent each nation’s population, with axis ticks generated by custom `AxisBottom` and `AxisLeft` components. The chart’s x-axis labels are formatted in millions, and the data loading handles asynchronous fetching with `useData`.
AI-generated descriptionMIT Licensed