🌍 Public
Viewing a saved revision (read-only)
4fb26b70b3514e47ad29fb6e5d0f827f
Customizing axes
This example demonstrates how to customize axes in a D3.js bar chart showing population data for the world’s most populous countries. The chart displays horizontal bars with a linear x-axis for population values and a categorical y-axis for country names, using `scaleLinear`, `scaleBand`, `axisLeft`, and `axisBottom`. The SVG rendering applies steelblue rectangles with custom axis formatting, and the data is loaded from a CSV file using `csv` and parsed with `max`.
AI-generated description