Published | Last updated
Make any of these graphs free in GraphPro →
The right types of graphs for research depend on one thing: the question your data answers. Use a bar graph with raw points to compare groups, a box plot to compare spread, a histogram to see the shape of one measurement, a scatter plot for two measurements together, and a line graph for change over time. Below, each type is worked on a real, citable dataset, with the numbers you should read from it and the mistake reviewers flag most.
In Simple Words
Pick the graph from your question, not from habit. Show every data point when you have few. Start bar axes at zero. State n and what the error bars mean in the caption.
Which type of graph fits your question?
Start with this table. Each row links a research question to the graph that answers it and the way that graph most often misleads. Every graph in the table is worked in full below, and dual-axis charts get their own section. For diagnostic-accuracy, trial and meta-analysis plots (ROC, Kaplan-Meier, forest, Bland-Altman) see Clinical Research Graphs: 10 Plots for Trials, Diagnostic Tests and Meta-Analysis.
| Your question | Graph to use | Where it fails |
|---|---|---|
| Compare group averages | Bar graph with the raw points shown | Bars alone hide spread and sample size |
| Compare spread and outliers across groups | Box plot | Hides bimodality; show points when n is small |
| See the shape of one measurement | Histogram | Bin width changes the picture; try two widths |
| Show how two measurements move together | Scatter plot | A fitted line implies cause; it shows association only |
| Show change over time | Line graph | One straight trend can hide a sudden step |
| Show a grid of values or correlations | Heat map | Colour scales mislead without a labelled key |
| Show shares of one whole (2 to 5 parts) | Pie or stacked bar | More than 5 slices cannot be compared by eye |
Eight worked charts use public datasets distributed with R. Five sections pair a dataset chart with a published figure, showing how researchers make those design choices in practice.
Bar graph: comparing group means (show the dots)
A bar graph compares group means by length. In the ToothGrowth experiment, 60 guinea pigs received vitamin C as orange juice or ascorbic acid at one of three doses. The outcome is mean incisor odontoblast cell length per animal, not whole-tooth length. The R dataset subtracts 20 from each measurement; the figures add it back to show the original micrometre scale, as documented by Finch and Gordon.

How to read it. Orange juice versus ascorbic acid averaged 33.23 versus 27.98 micrometres at 0.5 mg/day, and 42.70 versus 36.77 at 1 mg/day. At 2 mg/day the means were almost identical (46.06 versus 46.14 micrometres), but the animals given ascorbic acid had a wider spread.
Published example: one bar per participant, with confidence intervals (JAMA Network Open, 2026)
Bars can be used well when each bar is a person. In a double-blind N-of-1 trial of tamsulosin deprescribing in older men, Bauer and colleagues estimated the effect for each participant separately and drew one bar per participant, sorted from the largest to the smallest treatment effect.

What the paper reports. Of 30 participants who attempted the full protocol, 11 (36.7%) had a minimal or no tamsulosin effect, 11 (36.7%) a moderate effect and 4 (13.3%) a strong effect; 4 did not tolerate the placebo run-in. What to copy. Colour marks the effect category and the legend gives n for each (4, 11, 11). Participant IDs sit under each bar. The caption names the model behind the estimates (linear mixed models adjusted for period and time) and what the error bars are (95% CIs). Panel B shows each person’s placebo and treatment means as a linked pair, so the reader sees the two condition means behind the effect.
Box plot: comparing spread and outliers
A box plot shows the median, the central spread and potentially unusual observations. Here are the same 60 animals drawn as boxes, with each animal still visible as a point.

How to read it. At 2 mg/day both groups had a median of 45.95 micrometres. Measurements ranged from 42.4 to 50.9 with orange juice and 38.5 to 53.9 with ascorbic acid, showing greater spread in the latter group in this sample.
Published example: individual observations over box plots (JAMA Network Open, 2026)
McNamara and colleagues compared radiation dose under a suspended lead suit (95 cases) and a traditional lead apron (30 cases). Panel A overlays observations on box-and-whisker plots; the authors excluded extreme outliers from that panel for display. Panels B and C use bars to compare percentages.

What the paper reports. The median dose was 0.0 microsieverts (IQR 0.0 to 0.3) with suspended lead suits against 10.6 (IQR 5.8 to 24.1) with traditional aprons, P < .001. What to copy. First, the dots: the suit group is a cluster near zero that a box alone would draw as a flat line. Second, the caption states that extreme outliers were removed from panel A for graphical purposes, and defines the box (interquartile range), the centre line (median) and the whiskers (minimum and maximum without outliers). Third, bars are used only for percentages of cases, which is where bar length is the right encoding.
Same mean, different spread
These synthetic batches each contain eight particle-diameter measurements. Both average 10.0 µm. Batch A spans 8.8 to 11.2 µm, while Batch B spans 3 to 17 µm.


Download the particle-diameter data (CSV) and open GraphPro. Select Box plot, open Paste / import and paste the CSV including its header row. Select Apply data and check that both batch names appear. The first column labels the rows. The two batch columns hold independent measurements in micrometres.
Histogram: the shape of one measurement
A histogram shows how observations fall into intervals. Here, R’s faithful dataset records the duration of 272 Old Faithful eruptions.

How to read it. Eruption durations cluster around 2 and 4.4 minutes. The mean is 3.49 minutes and the median 4.0, but only 12 of 272 eruptions (4.4%) lasted more than 2.5 and less than 3.5 minutes. Reporting only the mean and standard deviation would hide the two clusters.
Published example: comparing distribution shapes with violin plots (JAMA Network Open, 2026)
A violin plot mirrors a smoothed density estimate: wider regions show where values are more concentrated. Its shape depends on the smoothing bandwidth. Dias and colleagues used violins to compare annual health care costs in children with and without a genetic diagnosis after whole-genome sequencing. Their pseudo-log scale keeps zero costs visible; read amounts from the labelled ticks and medians.

What the figure shows. Median admission cost was 1,281 pounds per year in the diagnosed group against 795 in the undiagnosed group (panel A). Median prescription cost was 335 against 77 (panel B, n = 84 and 168). What to copy. Each violin carries its sample size and median beneath it, and horizontal lines mark the quartiles, so the reader gets the summary and the shape together. The caption states that a pseudo-log y-axis was used for right-skewed costs while keeping zero values. Because the axis is not linear, read values from the labelled ticks and the printed medians, not by eye.
Scatter plot: two measurements together
A scatter plot places each observation at its x and y values. It answers “do these two measurements move together?”. The data are weight and fuel economy for 32 car models (Henderson and Velleman 1981).

How to read it. Pearson r = -0.87 (95% CI -0.93 to -0.74, p = 1.3e-10). The fitted slope is -5.34 mpg per 1,000 lb, and weight explains 75% of the variation in fuel economy (R-squared = 0.75). Report the interval, not only r: a correlation without its confidence interval hides how much the estimate could move.
Published example: scatter plot plus an agreement plot (Nature Communications, 2026)
A scatter plot with a correlation coefficient answers “do these move together?”. It does not answer “do the two methods agree?”. Butkow and colleagues tested an earbud-based estimate of stroke volume against a clinical reference device in 23 healthy participants, and showed both views in one figure.

What the paper reports. Pearson r = 0.94 between average predicted and reference stroke volume, a mean absolute error of 5.24 mL and an overall percentage error of 11.05%. In panel c the mean difference is -0.02 mL with 95% limits of agreement from −9.35 to 9.31 mL. What to copy. Panel a adds an identity line (y = x), so the reader sees departure from perfect agreement, not only a trend. Panels c and d add the Bland-Altman view (Bland and Altman 1986), which is what shows the size of the disagreement. See our guide to limits of agreement and the bias-difference plot. These results describe agreement in this sample; they do not establish that the devices are clinically interchangeable.
Line graph: change over time
A line connects observations in time order, making a shift easier to spot. Here are 100 years of annual Nile flow at Aswan, from 1871 to 1970.

How to read it. Using 1898 as an illustrative split, mean annual flow was about 110 billion cubic metres in 1871–1898 and 85 billion in 1899–1970. The difference is about 25 billion cubic metres per year. These are descriptive averages, not a test for a change point. See Cobb’s changepoint analysis for formal inference.
Published example: a time series with confidence intervals (JAMA Network Open, 2026)
Matta and colleagues plotted emergency department visit rates in Ontario, Canada, for every year from 2007 to 2022: all visits (n = 29,461,281) in panel A and visits with a urologic diagnosis (n = 2,192,213) in panel B.

What the paper reports. Age- and sex-standardised urologic visit rates rose from 0.91 per 100 people in 2007 to 1.0 in 2015, then decreased until 2020. What to copy. One point per year with a 95% confidence interval, a y-axis range chosen to show the movement rather than a zero baseline (acceptable for a line graph, not for bars), and two panels instead of a second axis. The dip around 2020 is visible at a glance. As with the Nile example, a single straight trend line drawn across these years would hide it.
Want these figures prepared for your journal? Send raw data, a rough sketch or an existing figure. We deliver up to 10 figures formatted to your target journal’s specifications.
Heat maps, pie charts and dual-axis charts: when they earn their place
These three graphs draw the most reviewer comments, because each can mislead when it is used outside its niche. Each is worked below on real data, with the numbers to read and the rule that decides whether it earns its place.
Heat map: a grid too large to read as numbers
A heat map colours each cell of a grid by its value. Use it when a table of numbers is too large to scan, such as a correlation matrix across many variables or expression across many samples. The example is the correlation matrix of five measurements on 32 car models (Henderson and Velleman 1981). Five variables give only 10 pairs, so a table would do here; the same design scales to dozens of variables, where a table cannot.

How to read it. Blue cells rise together; red cells move in opposite directions. Weight and engine size are strongly linked (r = 0.89), and both go with lower fuel economy (r = -0.87 and -0.85). Quarter-mile time is only weakly tied to weight (r = -0.17). Because the value is printed in each cell, the reader never has to guess a number from a shade.
Four choices make it trustworthy. A diverging scale centred on zero with fixed limits of -1 to 1. The value printed in every cell. Only the lower triangle, because the upper half repeats it. Variable names in words, with units in the caption. Avoid rainbow colour scales: Crameri, Shephard and Heron (2020) show that they can misrepresent data and exclude readers with colour-vision deficiency.
Pie chart: parts of one whole, only when a few slices differ clearly
A pie chart shows how one whole divides into parts. Readers judge position along a common scale more accurately than angle or area (Cleveland and McGill 1984), so a pie works only when a few slices differ clearly. Here are the same counts of chicks across six feed groups drawn both ways (chickwts, n = 71).

How to read it. In the pie, sunflower, linseed and casein (12 chicks each), meatmeal (11) and horsebean (10) look almost the same, and the ranking cannot be read. In the sorted bar chart, soybean (14 chicks, 19.7%) leads and horsebean (10, 14.1%) trails at a glance, with the counts printed beside each bar. Use a pie only for 2 to 5 slices with clear gaps between them, and print each percentage. Otherwise sort the categories and use bars.
Dual-axis chart: two scales, one story the author chooses
A dual-axis chart puts two measures on one plot, each with its own y-axis. The author chooses each scale, and the choice can change the story. The example is the daily closing value of two European stock indices, the German DAX and the British FTSE, from 1991 to 1998 (1,860 trading days).

How to read it. In panel A the right-hand axis is stretched so both lines span the same height, and the FTSE appears to lead the DAX until the DAX catches up in 1998. In panel B the same data, with the right axis shifted, look like two lines that never meet. Panel C puts both on one axis, indexed to 100 at the start: the DAX ends at about 336 and the FTSE at about 223, because the DAX rose 236% and the FTSE 123%. Neither dual-axis panel shows that.
Watch the correlation of trending series. Across the 1,860 days the correlation of the two index levels is r = 0.975, but that mostly reflects that both rose. The correlation of daily log returns, which removes the shared trend, is r = 0.64 (n = 1,859). Both figures were computed independently in R and Python and agree.
Safer options. Index both series to a common baseline on one axis (panel C), or stack two panels that share the x-axis. If you must use two axes, colour each axis to match its line, give units, and state the scale choice in the caption. Isenberg and colleagues (2011) studied how readers interpret dual-scale charts.
Checklist before you submit a figure
- Graph type matches the question (see the table above).
- Bar graph axes start at zero; individual points are shown when n is small.
- Caption states n, what error bars or bands represent, and the data source.
- Colours stay distinguishable in greyscale and for colour-blind readers.
- Text is readable at the printed column width of your target journal.
- Axes are labelled with units; no chart junk (3D effects, shadows).
Further reading on principles: Rougier, Droettboom and Bourne (2014) set out ten rules for better figures, and Midway (2020) covers design principles for effective data visualization. Both are cited below with DOIs. For the bar graph versus histogram distinction in more depth, see Bar Charts vs Histograms; to match a graph to a statistical test, see Choosing the Right Statistical Test.
Free Research Tools for Making These Graphs
Free Research Tools from Editverse
- GraphPro: build publication-ready charts, 25 types, with built-in t-test, ANOVA, correlation, and chi-square p-values. Free, no signup.
- StatPro: free statistical calculators and a test-selector tool covering group comparisons, categorical outcomes, time-to-event analysis, and diagnostic accuracy.
- Flowchart Pro: generate PRISMA 2020, PRISMA-ScR, CONSORT, STROBE, STARD, MOOSE, and ARRIVE flow diagrams directly in your browser.
Professional Figures and Statistical Analysis
If your results are ready and you need figures a reviewer will not send back, subject-matter statisticians and figure designers at Editverse build them to your target journal’s column width, fonts and colour requirements. If the analysis itself is still open, the statistical packages below run it first.
Figures
$300
Up to 10 publication-ready figures in PDF (vector), PNG, EPS and TIFF, formatted to your target journal. 3-5 business days.
Analysis and review
$475
Study-design review, analysis with assumption checks, publication-quality tables and figures, and a written statistical methods section. 5-10 business days.
Advanced analysis
$750
Regression, mixed models, survival analysis and propensity scores for complex designs. 5-7 business days.
Writing the full manuscript around these figures? See manuscript writing services. Editverse practice aligns with COPE, ICMJE and GPP 2022.
Conclusion
Choose the graph that answers your question, show individual observations when practical, and define the visual marks in the caption. Similar means can hide different spreads, a mean can fall between two clusters, and one trend line can hide a shift.
Frequently Asked Questions
What are the main types of graphs used in research?
Bar graphs, box plots, histograms, scatter plots and line graphs cover most results sections. Heat maps, pie charts and dual-axis charts serve narrower jobs. Pick the graph by the question you are answering, not by habit.
Which graph should I use to compare two groups?
Use a bar graph with individual points to compare means, or a box plot with points to compare spread. At 2 mg/day, the two guinea pig groups averaged about 46 micrometres, but the ascorbic acid group covered a wider range.
When should I use a histogram instead of a bar graph?
Use a histogram for one continuous measurement, such as eruption time or blood pressure, because it shows the distribution. Use a bar graph to compare categories or group means.
Does a scatter plot prove one variable causes the other?
No. In the car data, weight and fuel economy have r = -0.87, but the plot shows association only. Causal claims need study design, not a trend line.
Should a bar graph y-axis always start at zero?
Yes. Bar length encodes value, so a truncated axis exaggerates differences. Line graphs and scatter plots do not carry that constraint.
Why do journals ask for individual data points?
Bars and means hide sample size and spread. Weissgerber and colleagues (2015, PLOS Biology) showed that many papers in physiology journals present small-sample continuous data as bar or line graphs that cannot reveal the underlying distribution.
How many bins should a histogram have?
There is no single rule. Try at least two widths and keep the one that shows the structure without noise. The Old Faithful histogram uses 0.25-minute bins.
Which graph shows change over time best?
Use a line graph for ordered measurements. Look for shifts before fitting a single trend. In the Nile example, mean annual flow differed by about 25 billion cubic metres between the two periods on either side of the illustrative split after 1898.
What is a dual-axis chart and when is it safe?
It overlays two measures with different scales on one plot. It is only safe when both axes are labelled and the scales are not chosen to force a visual match; otherwise use two panels.
When is a heat map better than a table?
When the grid is too large to read as numbers, such as a correlation matrix across many variables. Print the value in each cell, centre a diverging scale on zero, and avoid rainbow colour scales.
Why are pie charts discouraged for comparing categories?
Readers judge position on a common scale more accurately than angle (Cleveland and McGill 1984). In the chick-feed example, six near-equal slices cannot be ranked from the pie, while a sorted bar chart shows the order at once.
Can I reuse a figure from a published paper in my own manuscript?
Only if the licence allows it. A CC BY 4.0 figure can be reused with credit to the authors, a link to the licence and a note of any changes. For other licences, ask the publisher for permission or redraw your own figure from your own data. Our guide to getting copyright approval for figures covers the steps.
Can I make these graphs without coding?
Yes. GraphPro builds 25 chart types in the browser, with built-in t-test, ANOVA, correlation and chi-square p-values. It is free and needs no signup.
References
- Rougier NP, Droettboom M, Bourne PE. Ten simple rules for better figures. PLoS Comput Biol. 2014;10(9):e1003833. doi:10.1371/journal.pcbi.1003833
- Weissgerber TL, Milic NM, Winham SJ, Garovic VD. Beyond bar and line graphs: time for a new data presentation paradigm. PLoS Biol. 2015;13(4):e1002128. doi:10.1371/journal.pbio.1002128
- Midway SR. Principles of effective data visualization. Patterns. 2020;1(9):100141. doi:10.1016/j.patter.2020.100141
- Crampton EW. The growth of the odontoblasts of the incisor tooth as a criterion of the vitamin C intake of the guinea pig. J Nutr. 1947;33(5):491-504. doi:10.1093/jn/33.5.491
- Azzalini A, Bowman AW. A look at some data on the Old Faithful geyser. Appl Stat. 1990;39(3):357-365. doi:10.2307/2347385
- Henderson HV, Velleman PF. Building multiple regression models interactively. Biometrics. 1981;37(2):391-411. doi:10.2307/2530428
- Cobb GW. The problem of the Nile: conditional solution to a changepoint problem. Biometrika. 1978;65(2):243-251. doi:10.1093/biomet/65.2.243
- McNamara DA, Decker JM, McNamara MW, et al. Suspended lead suits and radiation exposure in interventional echocardiographers. JAMA Netw Open. 2026;9(3):e2558134. doi:10.1001/jamanetworkopen.2025.58134
- Bauer SR, Kenfield SA, Oni-Orisan A, et al. Tamsulosin deprescribing for lower urinary tract symptoms in older men: a randomized clinical trial. JAMA Netw Open. 2026;9(7):e2621639. doi:10.1001/jamanetworkopen.2026.21639
- Dias JML, More RP, Butler D, et al. Diagnosis through whole genome sequencing and care utilization in children with severe illness. JAMA Netw Open. 2026;9(9):e2634372. doi:10.1001/jamanetworkopen.2026.34372
- Butkow KJ, Jalaludeen N, Liu Y, et al. Measuring cardiac stroke volume through in-ear audio sensing. Nat Commun. 2026;17(1):8755. doi:10.1038/s41467-026-75642-0
- Matta R, Shaw J, Mohamud H, et al. Emergency department visits, hospital admissions, and wait times for patients with urologic conditions. JAMA Netw Open. 2026;9(3):e2560058. doi:10.1001/jamanetworkopen.2025.60058
- Bland JM, Altman DG. Statistical methods for assessing agreement between two methods of clinical measurement. Lancet. 1986;327(8476):307-310. doi:10.1016/S0140-6736(86)90837-8
- Hintze JL, Nelson RD. Violin plots: a box plot-density trace synergism. Am Stat. 1998;52(2):181-184. doi:10.1080/00031305.1998.10480559
- Cleveland WS, McGill R. Graphical perception: theory, experimentation, and application to the development of graphical methods. J Am Stat Assoc. 1984;79(387):531-554. doi:10.1080/01621459.1984.10478080
- Crameri F, Shephard GE, Heron PJ. The misuse of colour in science communication. Nat Commun. 2020;11(1). doi:10.1038/s41467-020-19160-7
- Isenberg P, Bezerianos A, Dragicevic P, Fekete JD. A study on dual-scale data charts. IEEE Trans Vis Comput Graph. 2011;17(12):2469-2478. doi:10.1109/TVCG.2011.160
- Tukey JW. Exploratory Data Analysis. Reading, MA: Addison-Wesley; 1977.
Figures A–E are published examples; see each caption for its source figure number and licence. The worked examples use ToothGrowth, faithful, mtcars, Nile, chickwts and EuStockMarkets from R’s datasets package. R source for Figures 1, 2 and 5.
