Fork of activity 6_Task 1Q2
✓ Published0🌍 Public
This example shows a horizontal bar chart of the top 20 countries by population in 2010, with bars sorted in descending order from largest to smallest. The chart uses React components with D3.js scales (d3.scaleBand and d3.scaleLinear) to position bars and axes, while the data is loaded from a CSV file using d3.csv. The x-axis employs d3.format to abbreviate large population values, and the SVG rendering includes axis labels and tick styling.
AI-generated descriptionMIT Licensed