🌍 Public
Viewing a saved revision (read-only)
f20472e75983474286f8fcfb26faf75a
Customize Axes
This example shows a horizontal bar chart of block height and weight percentages across seven Indian regions, with population values derived from land area. The chart uses D3 v5’s `scaleLinear` and `scaleBand` to position bars, while customizing the left and bottom axes via `axisLeft` and `axisBottom`. Tick labels are formatted using `d3.format` with suffix replacement, and grid lines are rendered through negative tick sizes. Data comes from a CSV file and is rendered as SVG with styled text and steelblue bars.
AI-generated description