Bar chart label spacing specification

Two bar chart spec panels with light blue overlays that mark the 24px label-to-marker gap, 4px label offset and 24px minimum between axis labels.

Bar chart label spacing specification, technical, infographic, light

Summary

A white spec page with two bar chart panels whose light blue overlays define label, marker and axis-label spacing for bar charts.

Visual description

The left column gives two rules: 24 pixels between the right edge of the labels and the vertical data markers, with labels 4 pixels from every vertical marker, and a 24 pixel vertical minimum between x-axis and y-axis labels. The left panel is a horizontal bar chart with a blue band marked 24 beside its labels and a 4 pixel callout at the marker. The right panel has a 32 pixel band at the top and a band marked "24 minimum" between the x-axis labels and the chart base. Both panels keep the gray vertical gridlines and small labels of the earlier chart specs.

Key takeaway

The spec separates two gaps that are easy to confuse: label-to-marker spacing and axis-label spacing. Showing each as its own annotated band makes the minimum values easy to check.

Reuse notes

Use for bar and column chart layouts where category labels crowd the data. The 24 pixel minimum is a floor, so designers can add more space if needed. The overlay bands belong to the spec only and should not appear in production charts.

ElementsChart
Palette
#FFFFFF
#000000
#D9E8FA

More like this