🌍 Public
Viewing a saved revision (read-only)
7aad694c6ae642cdbbe268a27b44d94f
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