🌍 Public
Viewing a saved revision (read-only)
b9e7f611468d43cb9ddab3758a485c5e
Customizing Axes
A horizontal bar chart displays the populations of ten countries, with bars ranked from China down to Mexico. The visualization focuses on axis customization: a band scale positions country labels on the y-axis, while a linear scale maps population values to bar lengths on the x-axis. Rendered as SVG using d3.scaleLinear, d3.scaleBand, axisLeft, and axisBottom, the chart loads population data from a CSV file and multiplies each value by 1000 to reflect actual population counts.
AI-generated description