🌍 Public
Viewing a saved revision (read-only)
9d9bd8e44c974f39bf8f4fd659fe34ab
customizing axes
This example demonstrates a horizontal bar chart of the eight most populous countries, with population values formatted in billions using a custom tick formatter that replaces "G" with "B." The chart uses `d3.csv` to load data, `d3.scaleLinear` and `d3.scaleBand` for scaling, and `d3.axisBottom` and `d3.axisLeft` for axes. Grid lines extend from the x-axis ticks, while the y-axis domain line is removed for a cleaner look. The SVG is rendered via React.
AI-generated descriptionA bare minimum HTML page.
See also React Starter.