Skip to content
← Visualization

Bar chart

Lengths compare amounts from a common baseline.

Evening class registrations

Evening class registrations: bar. Registrations. Full values follow in the data view.6 observations. Use the data view for exact values.015304560RegistrationsClay48Print32Photo40Bread36Pasta28Ferment16
Illustrative data
View data6 records
Evening class registrations
ItemGroupRegistrations
ClayStudio48
PrintStudio32
PhotoStudio40
BreadKitchen36
PastaKitchen28
FermentKitchen16

When it fits

Compare amounts across named categories.

What you need

One value per category, in the same unit.

Watch for

A shortened baseline exaggerates differences in bar length.

In practice

US population by age, published by Vega-Lite contributors.
US population by age · Vega-Lite contributors · BSD-3-Clause
Sources and accessibility

The authored example uses illustrative data. Published references retain their original information and presentation.

Use Tab to reach controls and the data view. Native selects support arrow keys. All values are available in the data view; color and hover are never the only way to read the example.