activity_6_question_1.2
✓ Published0🌍 Public
This bar chart displays the populations of 20 countries in 2010, sorted by country name. The visualization uses React with D3 v5, employing `scaleBand` for the y-axis, `scaleLinear` for the x-axis, and SVG `rect` marks for the bars. Data is loaded via `csv` from a GitHub-hosted CSV file, with population values converted from thousands. The chart includes formatted tick labels using `format('.2s')`, replacing 'G' with 'B' for billions, and tooltips generated through SVG `<title>` elements.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed