🌍 Public
Viewing a saved revision (read-only)
5c202600907845a6a6ad0393432c5b9a
Customizing Axes
A bar chart displays population figures for ten countries using a horizontal layout, with country names on the y-axis and population counts on the x-axis. The chart uses `scaleLinear` and `scaleBand` to position bars, while `axisBottom` and `axisLeft` render the axes, with a `format("s")` tick formatter for compact number labels. A tooltip appears on hover via D3 event listeners. Data originates from the UN Population Division and is loaded as a CSV, with population values multiplied by 1,000.
AI-generated description