Small Multiples: What They Are, When to Use Them and How to Build Them in React
Small multiples are a grid of small charts that use the same chart type, the same axes and the same scale, with one panel per group. Instead of drawing ten colored lines on one chart, you draw ten small charts side by side, so each shape is easy to see and panels can be compared directly. They're also called trellis, lattice, panel or facet charts.
Edward Tufte popularized the term in his books on information design. The idea is simple: once a reader understands one panel, they understand all of them, and their eyes are free to compare.
What small multiples are
A small multiples chart has four parts:
- Panels. One small chart per group: a region, a product, a customer segment. Each panel is usually a line, area or bar chart.
- A shared scale. Every panel uses the same x axis and, by default, the same y axis. This is what makes the panels comparable.
- Panel titles. The group name at the top of each panel, often with the latest value.
- A deliberate order. Panels are arranged in a meaningful order: alphabetical, geographic, or sorted by the latest value.
Axis labels are typically shown only on the outer edge of the grid, to save space.
When to use small multiples
- The same metric across many groups. Monthly signups for eight regions, weekly orders for twelve stores.
- Comparing shapes. Which products have seasonal peaks, which are flat, which are growing.
- Replacing a "spaghetti" line chart. Once a line chart has more than four or five series, the lines cross and the legend becomes a puzzle. Small multiples untangle it.
- Distributions by group. A small histogram per segment.
- Before you add a second color. If you're tempted to add one color per group, small multiples are often the better choice.
When not to use small multiples
- Two or three series that need precise comparison. If the reader must compare values at the same moment, put them on one line chart, where the lines share one plot area.
- The groups have very different magnitudes and the shape is all that matters. A shared scale flattens small groups into a line at the bottom. You can switch to independent scales, but then panels no longer compare by level, and you must say so. Often an index chart that rebases every series to 100 is the better answer.
- There are dozens of groups. Forty tiny panels become texture rather than information. Show the top groups and summarize the rest, or use a heatmap.
- Only two points in time matter. A slope chart or dumbbell chart is more direct.
- Parts of one total. Use a stacked area chart to show how groups add up.
How to read small multiples
- Read one panel fully. Learn the axes, the time range and the unit.
- Scan for shapes. Which panels rise, fall, peak or stay flat?
- Compare levels across panels. With a shared scale, a panel whose line sits higher has larger values.
- Look for the odd one out. Small multiples make exceptions jump out: the one region that dipped, the one product without a seasonal peak.
- Check the scale note. If panels have independent scales, compare shapes only, not levels.
Design rules for honest small multiples
Keep the shared scale. This is the main rule. Independent y axes make every panel look equally important and hide differences in level. If you must use independent scales, say so in a note on the chart.
Start bar panels at zero. In bar or area panels, length and area encode the value, so the baseline is zero. Line panels can use a range that fits the data, as long as all panels share it.
Order panels on purpose. Sort by the latest value, by total, or in a natural order such as geography. Alphabetical is a fallback, not a default.
Use one color, highlight sparingly. Every panel shows the same measure, so it gets the same color. Highlight one or two panels when the story is about them.
Label directly. Put the group name and its latest value on each panel. Readers shouldn't need a legend.
Keep panels big enough. Very small panels hide the shape. A useful minimum on a dashboard is roughly 160 to 200 pixels wide.
Sync the interaction. When the reader hovers a month in one panel, highlight the same month in every panel so they can compare values at the same moment.
No dual axes in a panel. If you need a second measure, give it its own row of panels.
Worked example: signups by region
The figures below are invented for illustration. A company tracks monthly signups across six regions from January to June:
| Region | Jan | Feb | Mar | Apr | May | Jun |
|---|---|---|---|---|---|---|
| North America | 820 | 860 | 910 | 960 | 1,010 | 1,080 |
| Europe | 610 | 640 | 655 | 700 | 735 | 770 |
| Asia Pacific | 300 | 340 | 395 | 450 | 520 | 590 |
| Latin America | 180 | 190 | 205 | 215 | 230 | 245 |
| Nordics | 212 | 205 | 198 | 190 | 186 | 180 |
| Middle East & Africa | 140 | 138 | 135 | 131 | 129 | 126 |
On one line chart, six lines in six colors would cross and crowd near the bottom. As small multiples on a shared scale, sorted by June value, the story is clear: North America and Europe grow steadily, Asia Pacific grows fastest, Latin America creeps up, and the Nordics and Middle East & Africa decline.
The title states the finding: "Signups are rising everywhere except the Nordics and MEA". The subtitle: "New signups per month, shared scale".
Notice that on a shared scale the Middle East & Africa panel is low and fairly flat. That's honest: it's the smallest region. If the team wanted to focus on growth rates rather than volume, an index chart (every region rebased to 100 in January) would answer that question without breaking the shared scale.
How to build them in React
The ChartslibraryUI small multiples chart is free (MIT). With the shadcn CLI:
npx shadcn@latest add https://chartslibraryui.com/r/small-multiples.jsonOr with the ChartslibraryUI CLI:
npx chartslibraryui add small-multiplesBoth copy small-multiples.tsx and the shared core/ folder into components/charts/. Import the theme once (import "@/components/charts/core/charts.css";), then pass long-format data, one row per group and period:
import { SmallMultiples } from "@/components/charts/small-multiples";
const signups = [
{ region: "North America", month: "Jan", signups: 820 },
{ region: "North America", month: "Feb", signups: 860 },
// ...one row per region and month
{ region: "Nordics", month: "Jan", signups: 212 },
{ region: "Nordics", month: "Feb", signups: 205 },
];
export function SignupsByRegion() {
return (
<SmallMultiples
title="Signups are rising everywhere except the Nordics and MEA"
subtitle="New signups per month, shared scale (illustrative data)"
data={signups}
facet="region"
x="month"
y="signups"
kind="area"
format="integer"
order="last-desc"
/>
);
}kind can be "line", "area" or "bar". The scale is shared by default; setting sharedScale={false} adds a note telling readers to compare shapes, not levels. Columns are derived from the container width (minPanelWidth defaults to 180 px), hover is synchronized across panels, and highlight emphasizes named panels. See the small multiples component page for live variants and props.
FAQ
What are small multiples in data visualization? A set of small charts of the same type, one per group, drawn on the same scale and arranged in a grid so they can be compared at a glance.
What is the difference between small multiples and a faceted chart? They are the same idea. "Facet" is the term used in tools such as ggplot2 and Vega-Lite; "trellis" and "lattice" are older names.
Should small multiples share the same y axis? Yes, by default. A shared axis lets readers compare levels across panels. Use independent axes only when the shape matters more than the level, and say so on the chart.
How many panels can small multiples have? It depends on panel size and screen space, but roughly 4 to 20 panels work well on a dashboard. Beyond that, show the most important groups and summarize the rest.
When should I use small multiples instead of a line chart with many lines? Once you have more than four or five series, or when the lines cross often. Small multiples separate the series so each one is readable.
Can small multiples use bar charts? Yes. Bar panels work well for discrete periods or categories. Keep the bars starting at zero and the scale shared.