🌍 Public
Viewing a saved revision (read-only)
4b54b3c901a244489cf13318a7bec8e6
Task 8 Q1_VITESH CHALICHEEMALA
This horizontal bar chart displays the population of the top 10 countries in the year 2000. Built with React and D3 v5, it uses `scaleBand` for the categorical country axis and `scaleLinear` for the population scale, rendering SVG rectangles for each bar. Data is loaded via D3’s `csv` parser from a GitHub-hosted CSV file, with population values converted from thousands. The visualization includes formatted tick labels (using `format('.2s')`), axis components, and tooltips showing exact population figures via SVG `<title>` elements.
AI-generated description