Activity6_Task1_Question1.2
✓ Published1🌍 Public
This visualization displays the population of 20 countries in 2010 using a horizontal bar chart. The length of each green bar encodes the population value, with the country names listed along the vertical axis and a formatted numeric axis along the bottom. Built with React and D3 v5, the chart scales the data with `d3.scaleLinear` and `d3.scaleBand`, renders marks as SVG rectangles, and formats tick labels using a custom `format('.2s')` function that converts values to billions. The dataset is loaded asynchronously from a GitHub-hosted CSV file via D3’s `csv` function.
AI-generated descriptionMIT Licensed