Activity6_q1_2
✓ Published0🌍 Public
This bar chart displays the population of 20 countries in 2010, sorted by country name along the vertical axis. Each bar’s length encodes the population value, with a formatted x-axis label converting SI units (e.g., “1.2B”) for readability. The visualization is built with React and D3 v5, using `scaleBand` for the categorical axis and `scaleLinear` for the population scale. Data is loaded asynchronously from a CSV file via `d3.csv`, and SVG rectangles render the marks with a native tooltip showing the population value.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed