Learn
Boxplots
Outliers

The final piece of a boxplot is the representation of outliers. An outlier is a point in the dataset that falls outside of the whiskers. Outliers are usually represented with a dot or an asterisk.

Instructions

1.

We’ve given you a small dataset. Let’s find the outliers in it! We’ve calculated the ends of the whiskers for you. Run the code to see where the whiskers extend to.

2.

Look at the values in the array and find the outliers. Create a variable for each outlier and set it equal to the value of the outlier.

For example, if there are three outliers and their values are 5, 6, and 7, then you should create three variables named outlier_one, outlier_two and outlier_three and set each variable equal to 5, 6, or 7.

Folder Icon

Sign up to start coding

Already have an account?