Skip to content

Bar chart

One value per item, side by side.

Definition · Updated Nov 2, 2026

A bar chart gives each item or period one bar from zero, so the tallest and shortest stand out at once. It is the safest way to compare amounts. Use it for monthly totals, counts per category and any values people want to rank by eye.

Pay once. Every update included.

Live preview

Monthly card spendCard spend by month, January to September, in $K. September (month to date) is 40K; the highest month is July at 71K.48KJAN52K61KMAR57K66KMAY59K71KJUL68K40KSEPMONTH TO DATECLOSED MONTHS
Monthly card spend
MonthSpend
JAN$48K
FEB$52K
MAR$61K
APR$57K
MAY$66K
JUN$59K
JUL$71K
AUG$68K
SEP$40K

Sample data: monthly company card spend, January to September, 71K in July, September month to date

Size
Legend
Data shape
One value per item or period
Good for
Monthly totals, counts, category amounts
Avoid when
The trend between points matters more than each value
Sizes
XS, S, M and L, re-laid out from the data

Anatomy

Inspect it like the Figma file.

The same layers, names and tokens as the component. Select one to read its size, fill and style.

Layers

001 / Bars

chart/001-bars
plot · bars
Layer
bar · sep
Type
Rectangle
Size
68 × 117
Fill
data/primary
Group
Marks · 1

Layers

001 / Bars

chart/001-bars
plot · bars
Layer
bar · sep
Type
Rectangle
Size
25 × 62
Fill
data/primary
Group
Marks · 1

Sizes

Re-laid out, never scaled.

The same data at XS, S, M and L. Every size is redrawn from the data, so text and line weights never shrink.

M against S

Width360 px480 px

Plot328 px440 px

Labels1818

Marks11

Height212 px246 px

Same tokens at every size: text styles, 1 px lines and mark radius stay put.

When to use

Amounts, side by side.

Three signs it fits, and three signs another type fits better.

Is each bar its own amount?

The parts make up one whole.

Yes: Keep the bars

Is there one series?

Several series per period.

Yes: Keep the bars

Are the labels short?

Long names need room.

Yes: Keep the bars

Code and Figma

One name in Figma and in code.

Every Figma property is a prop with the same name and values. One command installs it.

Figma

chart/001-bars

size
legend
Property = propValuesDefault
size"xs" · "s" · "m" · "l""xs"
legendtrue · falsetrue
color"cat-1" · "cat-2" · "cat-3" · "cat-4""cat-1"
npx shadcn add @chartory/bars
bars.tsx
import { Bars } from "@/components/chartory/bars"import { cardSpend } from "./card-spend"export function CardSpend() {  return (    <Bars      data={cardSpend}      size="m"      legend={true}    />  )}

Hearth widget

Bars as a widget.

The chart in a Hearth card with a hero number and two blocks. One token set, light and dark.

Code
Get the code

EmberPreset

ChartoryDefault preset

Pick the blocks, the size and the preset for your own widget.

Read the Hearth widget docs

FAQ

Bar chart questions.

What people ask before they put bars in a dashboard.

Something else?

hello@usechartory.com
  • It is the month to date. The unfinished month is set apart from the closed months, so a short September does not read as a drop. The legend names both.

Related types

The same question, a different shape of answer. Every type ships in Figma and in code.

Same family

Compare items

Rank, gap and change between products, teams or regions.