Skip to content
Launch price: Pro is $79 once →
ChartslibraryUI
By Killian Helf · Updated 2026-11-28

Dumbbell Chart: What It Is, When to Use It and How to Build One in React

A dumbbell chart compares two values for each item in a list. Each row has two dots, one for each value, joined by a line, so the line's length shows the size of the gap and its direction shows which value is higher. It's also called a connected dot plot, a DNA chart or a barbell chart.

The two dots are usually two points in time (before and after, last year and this year) or two groups (men and women, plan and actual). The form puts attention on the difference rather than on the levels, which is why it's popular for before-and-after comparisons across segments.

What a dumbbell chart is

A dumbbell chart has four parts:

  1. Item labels. One row per item, such as a customer segment, a country or a product line.
  2. Two dots per row. Each dot marks one value on a shared horizontal axis. Use two clearly different styles: a hollow or grey dot for "before" and a filled, colored dot for "after" works well.
  3. A connector. A line between the dots. Its length is the change.
  4. A shared scale. All rows use the same axis, so gaps can be compared across rows.

Many versions also print the change at the end of each row ("+1.1 pts") and color the connector by whether the change is favorable.

When to use a dumbbell chart

  • Before and after a change. Conversion rate by plan before and after a pricing update.
  • Prior period vs current period. Retention by segment this quarter compared with last quarter.
  • Gaps between two groups. Median time to resolve tickets for two support tiers, by region.
  • Plan vs actual for a list. When the gap matters more than the absolute level.
  • Ranges. Low and high estimates per item, though a football field chart is designed for that.

It works best for about 5 to 20 rows. Sorted by the size of the change, it answers "which segments moved the most?" at a glance.

When not to use a dumbbell chart

  • The level matters more than the change. If the reader needs to compare current values across items, a dot plot with one dot per item, or a sorted horizontal bar chart, is clearer.
  • You have more than two points in time. With three or more periods, a line chart (or small multiples for many items) shows the path, not just the endpoints.
  • Rank order matters as much as the change. A slope chart shows crossing lines when items swap places, which a dumbbell chart hides.
  • The values are parts of a whole. Two shares of the same total belong in a stacked bar or a mix-shift chart.
  • You have hundreds of items. The rows become unreadable. Show the top movers in a dumbbell chart and the rest in a table.

How to read a dumbbell chart

  1. Check the legend first. Find out which dot is "before" and which is "after". Good charts make this obvious with labels on the first row.
  2. Read the length of each connector. A long line is a big change; a pair of overlapping dots means no change.
  3. Read the direction. If "after" sits to the right of "before", the value went up.
  4. Scan down the column. If the chart is sorted by change, the biggest movers are at the top.
  5. Check the units of change. For rates, a change from 3.1% to 4.2% is 1.1 percentage points, which is a 35% relative increase. A good chart says which one it means.

Design rules for honest dumbbell charts

Use a shared axis for every row. Different scales per row make gaps incomparable.

You don't need a zero baseline, but say so. A dumbbell chart encodes values by position, not length, so a zero baseline isn't required the way it is for bars. Show the axis range clearly, and don't pick a range that makes small changes look dramatic.

Make the two dots easy to tell apart. Combine shape or fill with color (hollow vs filled) so the chart works in grayscale and for color-blind readers.

Sort deliberately. Sorting by change puts the story first. Sorting by the "after" value shows the new ranking. Keep a natural order (such as plan tiers from smallest to largest) only when it helps the reader.

Color by direction, not by sign. For a cost or a churn rate, a decrease is good. Color the connector by whether the change is favorable for that measure, and say which direction is good.

Label directly. Print the change next to each row, and label the two dots on the first row instead of relying on a legend far away.

Use percentage points for rate changes. "Up 1.1 pts" is unambiguous. "Up 35%" for a rate change confuses many readers.

No dual axes. If the two values have different units, they aren't a pair. Use two charts.

Worked example: conversion before and after a pricing change

The numbers below are invented for illustration. A company changed its pricing page and wants to know how trial-to-paid conversion moved by plan, comparing the 60 days before and after:

Plan Before After Change
Starter 3.1% 4.2% +1.1 pts
Team 5.4% 6.0% +0.6 pts
Business 7.8% 7.9% +0.1 pts
Enterprise 9.2% 8.4% −0.8 pts

Sorted by change, the dumbbell chart puts Starter at the top with a long connector to the right, then Team, then Business with two dots almost on top of each other, and Enterprise at the bottom with a connector pointing left, colored as unfavorable.

A useful title: "The new pricing page lifted Starter conversion by 1.1 points; Enterprise fell". The subtitle: "Trial-to-paid conversion, 60 days before vs after the change". A footnote should give the sample sizes, because a 0.8-point drop on a few dozen Enterprise trials may be noise.

The same data as a grouped bar chart would show eight bars, and the reader would have to subtract pairs in their head. The dumbbell chart draws the subtraction.

How to build one in React

ChartslibraryUI includes a <DumbbellChart /> component. It's part of Pro, a one-time purchase, so it isn't in the public shadcn registry. Install it from your local Pro download:

npx chartslibraryui add dumbbell-chart --from ./chartslibraryui-pro

The chart and the shared core/ folder are copied into components/charts/ as TypeScript source you own. The data is one row per item with a label and two values:

[
  { segment: "Starter", before: 0.031, after: 0.042 },
  { segment: "Team", before: 0.054, after: 0.06 },
];

What the component handles:

  • Rows are sorted by change, so the biggest movers come first.
  • The change is printed on each row and the connector is colored by whether the move is favorable.
  • With a percent format, changes are shown in percentage points by default.
  • Tooltips, keyboard navigation, a table view and CSV export come from the shared core.

The dumbbell chart component page has a live demo and the full props. For a free alternative, the dot plot accepts a comparison value per row, and the free slope chart handles two periods when rank matters.

FAQ

What is the difference between a dumbbell chart and a slope chart? Both compare two values per item. A dumbbell chart puts the items in rows and the values on one horizontal axis, so it's best for reading the size of each change. A slope chart puts the two periods on two vertical axes and joins them with lines, so it's best for seeing rank changes and crossings.

What is the difference between a dumbbell chart and a dot plot? A dot plot shows one value per item (sometimes with a reference value). A dumbbell chart shows two values per item joined by a line, so the change is the main message.

Does a dumbbell chart need to start at zero? No. It encodes values by position, not by bar length, so a zero baseline isn't required. Choose an axis range that fits the data and label it, and avoid ranges that exaggerate small differences.

How many rows can a dumbbell chart have? Roughly 5 to 20 rows read well. Beyond that, show the largest changes and move the rest to a table.

How do I show which direction is good? Color the connector by favorable direction for that measure (for example, a drop in churn is good), and say so in the subtitle. Don't rely on red and green alone; pair color with the printed change.

Can a dumbbell chart show more than two values? You can add a third dot, but the chart quickly gets cluttered. For three or more points in time, use a line chart or small multiples.

Try the free charts in your app

26 charts, MIT, one command each.