🌍 Public
Viewing a saved revision (read-only)
ce06ee14047d4c439e04aa8cb864741c
activity 6_Task Q1.1
This horizontal bar chart shows the top 10 countries by population in 2020, using a green fill for each bar and red axis ticks. The chart sorts countries along the y-axis using d3.scaleBand, while d3.scaleLinear maps population values to bar widths, with tick labels formatted via d3.format. Data is loaded as CSV from a GitHub URL and rendered as SVG elements within a React component structure. The visualization uses React hooks like useEffect and useState to fetch and process the data before displaying it.
AI-generated description