Customizing Axes
✓ Published1🌍 Public
This example shows a horizontal bar chart of the top 10 most populous countries, with populations read from a CSV file and scaled in thousands. It demonstrates customizing both axes: the y-axis removes its domain line and tick marks, while the x-axis uses a tick format to abbreviate large numbers (e.g., converting billions to "B"). The chart uses D3 v5 APIs including `scaleLinear`, `scaleBand`, `axisBottom`, `axisLeft`, and `format`, rendering as SVG within a React framework.
AI-generated descriptionA bare minimum HTML page.
See also React Starter.
MIT Licensed