TOPICS
Search

Dot Plot


DotPlot

A dot plot, also called a dot chart, is a type of simple histogram-like chart used in statistics for relatively small data sets where values fall into a number of discrete bins. To draw a dot plot, count the number of data points falling in each bin and draw a stack of dots that number high for each bin. The illustration above shows such a plot for a random sample of 100 integers chosen between 1 and 25 inclusively.

Simple code for drawing a dot plot in the Wolfram Language with some appropriate labeling of bin heights can be given as

DotPlot[data_] := Module[{m = Tally[Sort[data]]},
  ListPlot[Flatten[Table[{#1, n}, {n, #2}]& @@@ m, 1],
   Ticks -> {Automatic, Range[0, Max[m[[All, 2]]]]}]
]

See also

Bar Chart, Box-and-Whisker Plot, Histogram, Stem-and-Leaf Diagram

Explore with Wolfram|Alpha

References

Cleveland, W. S. Visualizing Data. Hobart Press, 1993.Wilkinson, L. "Dot Plots." Amer. Stat. 53, 276-281, 1999.Tatsilo's Dot Plot. http://data.vanderbilt.edu/~graywh/dotplot/.

Referenced on Wolfram|Alpha

Dot Plot

Cite this as:

Weisstein, Eric W. "Dot Plot." From MathWorld--A Wolfram Web Resource. https://mathworld.wolfram.com/DotPlot.html

Subject classifications