block by mbostock 4403522

Rotated Axis Labels

Full Screen

This example demonstrates how to rotate axis labels by 90° using post-selection. After the axis is rendered, the text label elements are selected, and then attributes on the elements are modified to customize the label appearance.

index.html