Activity 6_Task 1(q2)
✓ Published0🌍 Public
This example shows a horizontal bar chart of population figures for 20 countries in 2010, with country names on the y-axis and population values on the x-axis. The bars are rendered as SVG rectangles using React components, with D3 v5 functions `scaleBand` and `scaleLinear` for positioning and scaling, and `format` for tick labels. Data is loaded as CSV from a GitHub URL and processed with `csv` and native JavaScript array methods before being sliced to the top 20 rows.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed