Scientific Data Plotter

Paste in data and see it plotted properly: a scatter plot for paired measurements with an optional least-squares trendline, a dot plot that stacks every value on a number line, or a histogram with its full frequency table, each with a descriptive summary of the numbers underneath. A fourth mode graphs an inequality on a number line, with open and closed circles drawn the standard way. Axes are scaled with clean 1-2-5 tick steps, histogram bins are equal-width with the counting convention stated, and nothing is rounded away silently. For a full statistics workup the Descriptive Statistics Calculator goes deeper, and for fitting models the Regression Calculator is the specialist; this page is the plotter.

Values can be separated by commas, spaces, newlines or semicolons, and fractions like 3/2 are accepted. Inequalities can be typed with >=, <=, > or <, one-sided (x >= -2, x < 3, 3 > x) or two-sided (-1 < x <= 4).

How to use this plotter

  1. Choose the plot type that matches your data: paired measurements, one variable as dots, one variable in bins, or an inequality.
  2. Paste the data. Scatter pairs go one per line as x, y. One-variable modes take a plain list. For a histogram, also set the number of bins.
  3. Click Plot and read the plot first, then the frequency table and the summary: count, mean, median, quartiles, spread.
  4. Try a different bin count on a histogram if the shape looks odd: the table updates with the bars, and the worked examples below show how much the choice matters.
  5. On the number line, check the interval notation under the graph: brackets mean the endpoint is included, parentheses mean it is not.

The method

Dot plot: each observation is one dot above its value on a number line; equal values stack. The stack height IS the frequency.

Histogram: the range is split into equal-width bins [a, b), with the last bin closed at both ends so the maximum is counted. A value on an edge belongs to the bin that starts there. With equal widths, bar height = count is the correct area convention.

Scatter plot: each pair is one point. The optional trendline is the least-squares line y = a + bx through the points, the same line the Regression Calculator fits in full.

Axes: tick steps are chosen from 1, 2 or 5 times a power of ten, so labels stay readable at any scale.

Summary: mean (the balance point), median (the middle value), quartiles by the median-of-halves method, and the sample standard deviation (dividing by n − 1).

Number line: a filled circle includes its endpoint (≤ or ≥), an open circle excludes it (< or >), and the shading runs along every number that satisfies the inequality.

Frequencies are counted exactly from the values as typed: nothing is pre-rounded, so 6 and 6.0 are the same dot but 6.04 is a different one. If your measurements were recorded to one decimal place, type them that way and the dot plot stacks them exactly as recorded.

Worked examples

Example 1: dot plot (the defaults)

The values 4, 5, 5, 6, 6, 6, 7, 7, 8, 9 stack into columns of height 1, 2, 3, 2, 1, 1. The frequency table reads the stacks back: 4 appears once, 5 twice, 6 three times, 7 twice, 8 once, 9 once. The summary: n = 10, mean 6.3, median 6, mode 6, quartiles Q1 = 5 and Q3 = 7 (IQR 2), range 5, sample standard deviation 1.4944. Mean above median, because the 9 pulls the balance point right while the middle pair sits at 6.

Example 2: histogram (the defaults)

Twenty heights from 152 to 190 in 5 bins: the bin width is (190 − 152)/5 = 7.6, so the bins are [152, 159.6), [159.6, 167.2), [167.2, 174.8), [174.8, 182.4) and [182.4, 190], with counts 2, 6, 5, 4, 3 (total 20). The summary underneath: mean 171.15, median 170.5, sample standard deviation 10.3175. Change the bin count to 10 and the same data shows a flatter, noisier shape: same numbers, different story at first glance, which is why the table always travels with the bars.

Example 3: scatter with trendline (the defaults)

Five lab-style pairs rising steadily: the least-squares line is ŷ = 0.05 + 1.99x with R² = 0.9973, so a straight line accounts for almost all of the variation in y. The points sit close to the line, which is what the R² is summarizing; if the points curved away, the plot would show it long before the number did.

Example 4: two inequalities

x >= -2 graphs as a filled circle at −2 with shading to the right, interval notation [−2, ∞): −2 itself is included. Type -1 < x <= 4 and the line shows an open circle at −1, a filled circle at 4 and shading between them, (−1, 4]. The mixed circles are exactly why the notation and the picture belong together.

Reading your results

Shape first. On a dot plot or histogram, look for where the mass sits, whether it is symmetric or skewed, and whether a gap or a lone outlier separates from the rest. Those features are the story; the summary numbers then measure them.

Mean versus median. When they disagree, the data is skewed or has outliers: the mean follows the tail, the median does not. Example 1’s small gap (6.3 against 6) and a heavily skewed income-style data set are the same phenomenon at different sizes.

The trendline is a summary, not a law. R² near 1 says a line fits THESE points well; it does not say x causes y, and it does not license predictions far outside the plotted x range. The Regression Calculator adds residuals and intervals for that judgment.

Frequencies are the check. Dot-plot stacks and histogram counts must add up to n, and the tables print the total: if your pasted list lost a value somewhere, the count exposes it before you interpret anything.

Common mistakes

  • Reading a histogram like a bar chart of categories. The x-axis is a number scale: bar positions and widths carry meaning, gaps between bars are real gaps in the data, and there is no reordering the bins into a prettier order.
  • Treating the bin count as cosmetic. Too few bins hides structure; too many invents it. If a conclusion changes completely between 5 and 10 bins, report both or gather more data.
  • Confusing open and closed circles. x > 3 excludes 3 itself: an open circle. One wrong circle changes the solution set, and on a test it changes the answer.
  • Reading “3 > x” backwards. It says x is less than 3 (the inequality flips when you read it from the x side). The plotter resolves it for you: 3 > x and x < 3 draw the same line.
  • Stacking rounded and unrounded values together. A dot plot treats 6, 6.0 and 6.00 as one value, but 6.04 as another. Round your data to one precision before pasting if you want clean stacks.

Limitations

  • Sizes are capped so the page stays responsive: 500 scatter pairs, 2,000 values in the one-variable modes, at most 25 histogram bins, and a dot stack of at most 14 (past that, the histogram is the right tool and the error says so).
  • The trendline is the single least-squares straight line. Curves, weighted fits and multiple regression belong to the Regression Calculator.
  • Quartiles use the median-of-halves method and say so; software using percentile interpolation can give slightly different Q1 and Q3 on the same data.
  • The number-line mode handles linear inequalities in x with at most two bounds. Compound inequalities joined by “or”, and anything with x², need different tools.

Frequently asked questions

What is the difference between a dot plot and a histogram?

A dot plot shows every observation as a dot, so it suits small data sets and exact recorded values. A histogram counts observations into bins, so it suits larger data sets and continuous measurements where individual values repeat rarely. This page offers both because the honest choice depends on the data, and the frequency tables let you compare.

How many bins should a histogram have?

Start near the square root of the count (20 values, about 5 bins, as in Example 2) and try a couple of neighbors. There is no single correct number; what matters is that the shape you describe survives reasonable changes to the count.

What is a frequency table?

A count of how often each value, or each bin, occurs. Relative frequency divides by the total to give a share, and cumulative frequency keeps a running total: the histogram table here shows all three, and they are the numbers the picture is drawn from.

How do you graph x < 3 on a number line?

An open circle at 3 (3 is not included) with shading to the left, interval notation (−∞, 3). Choose the Number line mode and type x < 3.

Why does the scatter trendline not pass through every point?

Least squares balances all the points at once: the line minimizes the total squared vertical distance to the points, so unless the data is perfectly linear it threads between them. Example 3 is unusually tidy lab-style data; real measurements scatter more.

Does the plotter round my data?

No. Values are counted and plotted exactly as typed; only the DISPLAYED summary figures are trimmed to at most four decimal places. A value on a histogram edge belongs to the bin starting at that edge, as the method section states.

Related calculators

Method: observations are validated token by token and counted exactly as typed; histogram bins are equal-width [a, b) intervals with the last bin closed, built from the data minimum with the requested bin count; axis ticks use 1-2-5 step selection; the trendline is ordinary least squares on the plotted pairs; quartiles use the median-of-halves method and the standard deviation is the sample (n − 1) form. Last reviewed: 22 October 2026.

Disclaimer: This calculator gives estimates for general information only. It is not financial, medical or other professional advice.