Population Bar Chart
✓ Published1🌍 Public
This bar chart displays the top 10 countries by projected 2020 population, ranked along the y-axis with horizontal bars extending left. It loads CSV data from a GitHub gist using D3’s `csv` function, parses the population column with a row accessor, and renders the result as SVG rectangles via React. D3’s `scaleBand` positions the country labels, while `scaleLinear` maps population values to bar widths within a fixed 960×500 viewport.
AI-generated descriptionMIT Licensed