Source: https://cmonie.pagesperso-orange.fr/maths/exercices/3eme/x_3-6-1_statistiques.pdf