🌍 Public
Viewing a saved revision (read-only)
8a59f9ee290749a2af7d0f17db5af9be
Fork of Making a barchart
This horizontal bar chart displays the populations of the ten most populous countries, scaled to actual values in thousands. The visualization reads population data from a CSV file using `d3.csv`, then renders SVG rectangles with scales from `d3.scaleLinear` for the x-axis and `d3.scaleBand` for the y-axis. Axis generators `axisLeft` and `axisBottom` label the countries and population counts. The chart uses a steelblue fill for the bars and is built with D3 v5, rendered as an SVG element.
AI-generated description