activity 6_Task Q1.2
✓ Published2🌍 Public
This chart displays the top 20 countries by population in 2010 as a horizontal bar chart, with the country name on the y-axis and the population count on the x-axis. It uses React to render an SVG, leveraging D3 v5’s `scaleBand` and `scaleLinear` for axes and scales. The data is loaded from a remote CSV file, and each bar includes a tooltip via a `<title>` element format using D3’s `format` function. Styling is applied via CSS, with red tick lines and green bars.
AI-generated descriptionMIT Licensed