🌍 Public
Viewing a saved revision (read-only)
24353b6a4fec42148837f1d1caa83c15
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.