Menu

Comparison
Static
47 Python scripts generated for dumbbell chart this week

Dumbbell Chart

Chart overview

A dumbbell chart (also called a connected dot plot or DNA chart) displays two measurements per subject or group connected by a line, forming a dumbbell shape.

Key points

  • It is particularly effective for showing paired comparisons - baseline vs.
  • follow-up, pre-treatment vs.
  • post-treatment, or condition A vs.

Example Visualization

Dumbbell chart showing pre and post treatment biomarker levels connected by colored lines indicating direction of change

Create This Chart Now

Generate publication-ready dumbbell charts with AI in seconds. No coding required – just describe your data and let AI do the work.

View example prompt
Example AI Prompt

"Create a dumbbell chart showing pre- and post-treatment biomarker levels for each patient in my dataset. Connect each patient's two measurements with a line colored red for increase and blue for decrease. Use filled circles at each endpoint sized by measurement value. Sort patients by the magnitude of change. Add a legend distinguishing the two timepoints. Label the x-axis with the biomarker name and units. Format for clinical publication at 300 DPI."

How to create this chart in 30 seconds

1

Upload Data

Drag & drop your Excel or CSV file. Plotivy securely processes it in your browser.

2

AI Generation

Our AI analyzes your data and generates the Dumbbell Chart code automatically.

3

Customize & Export

Tweak the design with natural language, then export as high-res PNG, SVG or PDF.

Python Code Example

Loading code...

Console Output

Output
Figure saved: plotivy-dumbbell-chart.png

Common Use Cases

  • 1Pre- vs. post-intervention gene expression or protein abundance for paired patient samples
  • 2Comparing ecological species abundance between two sampling seasons or locations
  • 3Before-and-after dietary intervention study: plasma lipid and metabolite levels
  • 4Displaying athlete performance metrics at two competition timepoints across a season

Pro Tips

Sort rows by the magnitude or direction of change to make patterns immediately visible

Use distinct, colorblind-safe colors for the two endpoints and a neutral or directional color for the connecting line

Label each row clearly on the left margin; avoid axis crowding by using horizontal orientation

Consider adding annotation for statistically significant changes with asterisks or adjusted p-value brackets

Free Cheat Sheet

Scientific Chart Selection Cheat Sheet

Not sure whether to use a Violin Plot, Box Plot, or Ridge Plot? Download our single-page reference mapping the most-used scientific chart types, exactly when to use them, and the core Matplotlib/Seaborn functions.

Comparison Charts
Distribution Charts
Time Series Data
Common Mistakes
No spam. Unsubscribe anytime.