Learn

Histograms and their datasets can be classified based on the shape of the graphed values. In the next two exercises, we’ll look at two different ways of describing histograms.

One way to classify a dataset is by counting the number of distinct peaks present in the graph. Peaks represent concentrations of data. Let’s look at the following examples:

A unimodal dataset has only one distinct peak. histogram

A bimodal dataset has two distinct peaks. This often happens when the data contains two different populations. histogram

A multimodal dataset has more than two peaks. histogram

A uniform dataset doesn’t have any distinct peaks. histogram

Instructions

1.

Determine the distribution shape of Graph A and save your answer (as a string) to the variable graph_a.

2.

Determine the distribution shape of Graph B and save your answer (as a string) to the variable graph_b.

3.

Determine the distribution shape of Graph C and save your answer (as a string) to the variable graph_c.

Sign up to start coding

Mini Info Outline Icon
By signing up for Codecademy, you agree to Codecademy's Terms of Service & Privacy Policy.

Or sign up using:

Already have an account?