# Bar Chart

*noun*

say it: **“BAR CHART”** **/ˈbɑr ˈtʃɑrt/**

A chart that shows amounts as bars, longer for bigger amounts, so groups can be compared at a glance.

## What is a **bar chart**?

A **bar chart** draws each amount as a bar whose height is the amount, so groups can be compared at a glance, such as
cups sold at each store. In Python, matplotlib draws one with `bar()`.

```python
import matplotlib.pyplot as plt
fig, ax = plt.subplots()
ax.bar(["Main", "Elm", "Oak"], [620, 410, 380])
fig.savefig("cups_by_store.png")
```

## In a sentence

- “The **bar chart** made it plain that Main Street sells the most.”
- “She chose a **bar chart** to compare the three stores.”

Level: Novice · [More Python terms at this level](https://www.ask-codey.com/glossary?category=python&level=1)

Updated: November 19, 2026

Source: https://www.ask-codey.com/glossary/bar-chart
