Skip to main content
100%

Customize Axes

✓ Published0🌍 Public
AAbirKhan96
Last edited Feb 17, 2020
Created on Feb 17, 2020
Forked from 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
MIT Licensed

Similar vizzes