activity 6_Task 1
✓ Published1🌍 Public
This chart displays the population of each country in 2020 as a horizontal bar chart, using a linear scale for the population axis and a band scale for the country axis. The SVG is rendered with React, while D3’s `scaleBand`, `scaleLinear`, `max`, and `format` functions handle the scaling and tick formatting. Country bars are drawn with `<rect>` elements and include a tooltip showing the formatted population value. Data is loaded asynchronously from a CSV file via D3’s `csv` function.
AI-generated descriptionMIT Licensed