🌍 Public
Viewing a saved revision (read-only)
6b9ed30afdfb40faa4b410882134b71c
Making a Bar Chart
This bar chart displays population estimates for the ten most populous countries, using horizontal bars ordered by descending population. The visualization is built with D3 v5, loading data from a CSV file and rendering to SVG. It employs `d3.scaleLinear` for the x-axis, `d3.scaleBand` for the categorical y-axis, and `d3.axisLeft` and `d3.axisBottom` for the axes. The chart maps population values to bar widths, with the y-axis labels showing country names.
AI-generated description