It’s World Statistics Day! To honor the theme of the day, the JMP User Community is having conversations about the importance of trust in statistics and data. And we want to hear from you! Tell us the steps you take to ensure that your data is trustworthy.
Choose Language Hide Translation Bar
JMP add-in for statistical dot plots

JMP has a rather straightforward distribution analysis using histograms accompanied with various statistics such as mean, standard deviation and the quantiles. But if you care about gaps in your data, whether small or large, histograms might not be your best bet. Another basic statistical tool, the dot plot, can reveal these gaps in the distribution. Here is one set of data being displayed in a histogram and dot plot.

"Dot plot" is a general term, as there are several different plots that people call dot plot. Leland Wilkinson has published a paper on a particular type of dot plot that has been used for more than 100 years. This summer, I had the opportunity to write a JMP add-in of Wilkinson's dot plot (and you can download it from the JMP File Exchange).

[Update: Shang's Dot Plot add-in is included in JMP 11 and later. It's under Help > Sample Data > Teaching Demonstrations > Dot Plot.]

The add-in has a few complementary features, like:

  • Automatically label dots by data.
  • Color dots by a categorical variable.
  • Size dots by a continuous variable.
  • Superimpose a box plot.
  • Dot Labeling

    The data column is automatically labeled, so when you hover the mouse over a dot, the data value shows up. If another column is selected as the data column, then the previous data column becomes unlabeled.

    Dot Color

    Dots can be colored by a categorical column. In the image above, the dots are colored by sex.

    Dot Size

    Dot size can be changed by a continuous column.

    Box Plot

    Wilkinson said, "Dot plots are especially suited for supplementing other graphics." Superimposing a box plot is another feature of the add-in.

    The add-in can be used as a teaching tool to demonstrate basic statistical concepts. I used JSL to create a data table with two columns and 500 rows. The first column is numeric and holds random normal numbers, while the second column is categorical and was used to separate the random normal numbers into three groups. I then displayed this data in the dot plot using the random normal column as my data column, split it by the categorical column, showed the C.I. of mean and showed the mean diamond of 95% confidence. The resulting plot effectively shows that, as sample size goes up, the confidence interval becomes smaller. With very little effort and prep work, the dot plot add-in helps teachers demonstrate basic statistics concepts, and it also lets students experience modern statistical visualization software.

    Article Labels

      There are no labels assigned to this post.


    teddy wrote:

    thanks for this wonderful & very helpful add-in !


    Mia Stephens wrote:

    Yay! Thank you Shang!


    Ruth wrote:

    Hello Shang, this is exactly what I'm looking for. However, the link you provided to the add-in does not appear to bring me to the correct location. Could you please confirm? Many thanks!


    Xan Gregg wrote:

    I've updated the post to note that Shang's Dot Plot add-in is built-in to JMP 11 and later.

    It's under Help > Sample Data > Teaching Demonstrations > Dot Plot. Since JMP 10 is still widely used in academics, I've re-added Shang's add-in to the File Exchange as well. It's at


    randy wrote:

    the Unstack (checkbox) functionality is just divine !

    i hope this becomes part of the Analyze > Distribution and / or Graph Builder platforms.


    randy wrote:

    also, can i use the Unstack script and add it in Graph Builder when i want to achieve the unstacked layout?

    Level I
    Hi, very nice tool. Is it possible to rotate the graph by 90 degrees, so I can get groups on the x-axis and values on the y-axis?