🌍 Public
Viewing a saved revision (read-only)
fe59226e7714461a9d0a351ad1282786
Customizing axes
This example shows a horizontal bar chart of the ten most populous countries, with a custom formatted x-axis and a styled y-axis. The D3 script (v5) loads data from a local CSV file and uses `scaleLinear`, `scaleBand`, `axisBottom`, and `axisLeft` to render the SVG. It removes default axis lines, customizes tick labels to abbreviate numbers (e.g., "1.43B"), and adds a title and an axis label.
AI-generated descriptionAn example showing the capabilities of VizHub.