Discrete Data/Examples/Colors of Rainbow

Example of Discrete Data
The set $C$ of colours of the rainbow:
 * $C = \set {\text {red}, \text {orange}, \text {yellow}, \text {green}, \text {blue}, \text {indigo}, \text {violet} }$

is an example of discrete data.

In such a circumstance where the discrete data are non-numerical, it is usually possible to assign (natural) numbers to each of the elements, for example:

and so the set $C'$ can be considered instead: $C' = \set {1, 2, 3, 4, 5, 6, 7}$