🌍 Public
Viewing a saved revision (read-only)
b5c7a75df69b48318d4b7156ff33ba77
activity 6_Task 1
This chart displays the population of 20 countries in 2010, shown as horizontal bars on a linear scale. The visualization uses React to render SVG elements, with D3 v5 providing the scales and file parsing. The data is loaded from a remote CSV via `d3.csv`, with the 2010 column extracted and multiplied by 1000 to obtain population figures. The implementation uses `d3.scaleBand` for the y-axis, `d3.scaleLinear` for the x-axis, and custom components for axes and marks.
AI-generated description