block by mbostock 3371592

Axis Styling

Full Screen

This example shows how to customize the appearance of d3-axis using post-selection: modifying the contents of the SVG elements created by the axis. This technique can also be applied during transitions.

Updated Example →

index.html