🌍 Public
Viewing a saved revision (read-only)
8bfc56c55fee48bb81081d72961a6e08
Bar Chart Axes
This example shows a horizontal bar chart ranking the ten most populous countries, with population values formatted in billions and a labeled x-axis. Built with D3 v5, it uses `scaleLinear` and `scaleBand` to map population and country names, while `axisBottom` and `axisLeft` generate the axes. The chart reads from a CSV file, renders as SVG, and removes default axis domain lines for a cleaner look.
AI-generated descriptionAn example including some commonly used features of SVG.