🌍 Public
Viewing a saved revision (read-only)
6d8f21adab7c40b684dd9298ed0c8e53
Axel Rows
This example presents a horizontal bar chart of population figures for ten countries, using a CSV dataset where population values are multiplied by 1,000. It demonstrates custom axis configuration with D3 v5, employing `scaleLinear` for the x-axis, `scaleBand` for the y-axis, and `axisLeft`/`axisBottom` to render the axes. The visualization renders as SVG, with steel-blue rectangles whose widths map to population and heights derived from the band scale’s `bandwidth`.
AI-generated descriptionCustomize Axes