# Chart Legend

> The small key on a chart that says what each color or symbol stands for.

**Field:** Design  
**Category:** Data Visualization  
**Also known as:** Legend, Chart Key, Map Key

## Think of it like

It is like the key on a treasure map. It tells you what each sign on the map means.

## Definition

A chart legend is the small key that says what each color or symbol stands for. It is needed when a chart has more than one series, like two lines. A reader looks from the legend to the chart and back again. That back and forth costs time. Often it is better to write the label right next to its line.

## Example

A chart shows sales for London and Paris in two colors. The legend in the corner names each color.

## Why it matters

Without a key, colors mean nothing. With a key far away, readers keep losing their place.

## Common mistake

Putting the legend far from the data. Label each line at its end so no key is needed.

## Three principles

- **Says what colors mean.** One entry per series.
- **Close to the data.** Less looking back and forth.
- **Direct labels beat it.** Name the line on the line.

## Related terms

- [Chart Axis](https://learn.benibix.com/term/design/chart-axis)
- [Chart Annotation](https://learn.benibix.com/term/design/chart-annotation)
- [Categorical Color Palette](https://learn.benibix.com/term/design/categorical-color-palette)
- [Heatmap](https://learn.benibix.com/term/design/heatmap)

![A line chart with two lines. Labels point to the axis along the bottom, the axis up the left side, the legend in the top corner naming the two lines, and a note with an arrow pointing at a sudden drop.](https://learn.benibix.com/diagrams/chart-anatomy.svg)

---

Source: https://learn.benibix.com/term/design/chart-legend
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-17
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
