Activity6_Task1
✓ Published2🌍 Public
A horizontal bar chart displays the populations of the top 30 countries in 2020, sorted from largest to smallest. Built with React and D3 v7, it renders SVG bars using `scaleBand` for the y-axis and `scaleLinear` for the x-axis. The data is fetched from a CSV file via `d3.csvParse`, with fallback sources and sample data (China, India, United States, Indonesia, Pakistan) in case the URLs fail. The chart includes axes with custom tick formatting, labels, and a border.
AI-generated descriptionMIT Licensed