Skip to content
← Visualization

Heatmap

Color intensity shows values across a matrix.

Library visits per hour

Library visits per hour: heatmap. Visits per hour. Full values follow in the data view.20 observations. Use the data view for exact values.10amNoon2pm4pmMonTueWedThuFri12203226182442301428362222324840163044281020304050
Illustrative data
View data20 records
Library visits per hour
ItemGroupVisits per hour
Mon10am12
MonNoon20
Mon2pm32
Mon4pm26
Tue10am18
TueNoon24
Tue2pm42
Tue4pm30
Wed10am14
WedNoon28
Wed2pm36
Wed4pm22
Thu10am22
ThuNoon32
Thu2pm48
Thu4pm40
Fri10am16
FriNoon30
Fri2pm44
Fri4pm28

When it fits

Find recurring high and low regions in a dense grid.

What you need

Two grouping variables and one numeric value per cell.

Watch for

Color is poor at communicating small, exact differences.

In practice

Seattle weather through the year, published by Vega-Lite contributors.
Seattle weather through the year · 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.