🌍 Public
Viewing a saved revision (read-only)
93eba3a8ed984c46bb704ee62fa8b3f5
ACTIVITY_06
This visualization shows the populations of 30 countries in 2020 as a horizontal bar chart, ranked by country name on the y-axis and population magnitude on the x-axis. The code loads CSV data via d3.csv, scales the population values into billions, and renders SVG bars using React components for the axes and marks. It uses d3.scaleBand and d3.scaleLinear for positioning, with tooltips formatted via d3.format. The data source is a raw GitHub-hosted CSV file, and the chart is styled with blue axis lines and green bars.
AI-generated description