🌍 Public
Viewing a saved revision (read-only)
5906c067f14942659f27cb8d0b3776d5
Making a Bar Chart
This horizontal bar chart displays the populations of the ten most populous countries in 2018. It uses D3 v6 to load the CSV data and render SVG rectangles and axes. The chart employs d3.scaleLinear for the quantitative population axis, d3.scaleBand for categorical country labels, and d3.axisLeft and d3.axisBottom to draw the scales. Population values are multiplied by 1,000 after parsing.
AI-generated description