This is a helper function to calculate the proportion of minorities in the population
All groups in the population except for the first one are considered minorities.
Proportion of minorities
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.