Activity 6
✓ Published0🌍 Public
A horizontal bar chart displays the population of 30 countries for 2020, using the D3 library in a React component. The chart employs D3 scaleBand for the y-axis and scaleLinear for the x-axis, with tick labels formatted using D3's format function to abbreviate large numbers. Data is loaded via CSV, and SVG rectangles are rendered for each bar, with tooltips showing the exact population value.
AI-generated descriptionMIT Licensed