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