Heatmaps encode numeric values as cell colors in a two-dimensional grid, making it easy to spot patterns, clusters, and outliers across two categorical dimensions at once. Sequential color scales work for single-direction data, while diverging scales are ideal for correlation matrices and variables that range from negative to positive.