Map Projections & Cartography Foundations Codexery

Heat map

A data visualization technique using color to represent magnitude.

Heat map

A heat map (also written as heatmap) is a way to show data in two dimensions, using color to indicate how big or small each value is. The color can vary by shade or intensity. In fields like crime analysis or website click-tracking, color sometimes shows how densely data points are clustered, rather than a specific value tied to each point. Although the term "heat map" is fairly new, people have been shading matrices to show patterns for more than a hundred years.

The technique began with two-dimensional displays of numbers in a data matrix, where larger values appeared as small dark gray or black squares and smaller values as lighter squares. The earliest known example comes from 1873, when Toussaint Loua hand-drew and colored a shaded matrix to show social statistics across Paris districts. In 1899, Flinders Petrie introduced seriation—reordering rows and columns to reveal structure in a matrix. Louis Guttman developed the Scalogram in 1950 to order binary matrices and expose a one-dimensional scale. Peter Sneath in 1957 displayed cluster analysis results by permuting rows and columns to group similar values together. Robert Ling implemented this idea in 1973 with a computer program called SHADE, using overstruck printer characters to create gray shades, one character-width per pixel. Leland Wilkinson created the first computer program for cluster heat maps with high-resolution color graphics in 1994, called SYSTAT. The Eisen et al. display replicates that earlier SYSTAT design. Software designer Cormac Kinney trademarked the term "heat map" in 1991 for software showing real-time financial market data. SS&C Technologies, Inc. acquired the trademark in 1998 but did not renew it, so it was annulled in 2006.

There are two main types of heat maps: spatial and grid, plus over ten other varieties. A spatial heat map shows the magnitude of a spatial phenomenon as color, usually overlaid on a map. For example, temperature appears as a color range from blue (cold) to red (hot) across a world map. A grid heat map displays magnitude as color in a two-dimensional matrix, where each dimension is a category of trait and the color represents a measurement combining both traits. One dimension might be year, the other month, with temperature as the value—showing how temperature changed over years in each month. Grid heat maps split into two subtypes: clustered and correlogram. A clustered heat map, like the monthly temperature by year example, groups similar data. A correlogram is a clustered heat map with the same trait on both axes, showing how traits interact; it appears as a triangle because A-B and B-A are the same. In a grid heat map, cells are fixed in size and shape, and the goal is to detect or suggest clusters. A spatial heat map, often used on maps or satellite imagery, has no cells—colors vary continuously.

Heat maps simplify data and make analysis visually appealing, so they have many uses. In business analysis, they visually represent a company’s current functioning, performance, and areas needing improvement, helping teams and clients see growth and efforts. On websites, multiple heat maps are often combined to find the best and worst performing page elements. Mouse tracking (or hover) maps show where users move their cursor. Eye tracking maps measure where users look, including fixation volume, duration, and areas of interest. Click tracking (or touch) maps visualize where users click, covering both clickable items like buttons and non-clickable areas. AI-generated attention maps predict where a user’s attention will go on a webpage using a software algorithm. Scroll tracking maps show scrolling behavior and indicate which sections users spend the most time on. Heat maps are also used in exploratory data analysis for both small and large datasets.

earliest_example_creator
Toussaint Loua
term_coined_by
Cormac Kinney
field
Data visualization

Lore & Background

A heat map is a two-dimensional data visualization technique that uses color variation—either by hue or intensity—to represent the magnitude of individual values within a dataset. In some applications, such as crime analytics or website click-tracking, color instead represents the density of data points. The practice of shading matrices to display data has existed for over a century, with the earliest known example being a hand-drawn and colored shaded matrix created in 1873 by Toussaint Loua to visualize social statistics across the districts of Paris. The concept of reordering rows and columns to reveal structure in a data matrix, known as seriation, was introduced by Flinders Petrie in 1899. In 1950, Louis Guttman developed the Scalogram, a method for ordering binary matrices to expose a one-dimensional scale structure. In 1957, Peter Sneath displayed cluster analysis results by permuting matrix rows and columns to group similar values. This idea was implemented by Robert Ling in 1973 with the computer program SHADE, which used overstruck printer characters to represent different shades of gray, one character-width per pixel. Leland Wilkinson developed the first computer program in 1994 (SYSTAT) to produce cluster heat maps with high-resolution color graphics. The term "heat map" was trademarked in 1991 by software designer Cormac Kinney to describe software for displaying real-time financial market information; the trademark was acquired by SS&C Technologies in 1998 but later annulled in 2006. There are two primary categories: spatial heat maps, which display the magnitude of a spatial phenomenon as color over a map, and grid heat maps, which present color in a fixed-size grid of equal cells to detect clustering. A grid heat map can be a clustered heat map or a correlogram, where the same trait appears on both axes to show interactions, displayed as a triangle to avoid redundancy.

Reader's Guide

Heat maps are significant as a versatile data visualization tool used across many fields. They simplify complex datasets by representing magnitude as color, making patterns and clusters immediately visible. There are two primary categories: spatial heat maps, which display magnitude of a spatial phenomenon as color over a map, and grid heat maps, which display magnitude as color in a two-dimensional matrix. Grid heat maps are further categorized into clustered heat maps and correlograms. Applications include business analysis, website analysis (mouse tracking, eye tracking, click tracking, AI-generated attention, scroll tracking), exploratory data analysis, biology (DNA, RNA, gene expression), financial analysis, geographical visualization, sports, and cybersecurity. The technique allows users to detect clustering, compare performers, and visualize geographic distributions.

Did You Know?

Frequently Asked Questions

What is a Heat map?

A Heat map is a two-dimensional data-visualization method that encodes the magnitude of individual values in a dataset using color, whether through shifts in hue or changes in intensity.

What are Heat map's core 'powers' or roles in practice?

It translates numeric magnitude into a color gradient so viewers can spot patterns at a glance, and in applied settings like crime analytics or website click-tracking it can instead encode the density of data points rather than a single value per cell.

More in Map Projections & Cartography Foundations 1-24

Spotted an error? Know more?

This is a living reference — every entry is fact-audited, and reader corrections feed straight into our audit queue. Suggest an edit · See this site's audit record

Comments

Loading…
Open in the interactive codex →