Function to choose a random sample of data stratified by label.
Vector of strings denoting labels.
Number of items to sample from each label class.
Vector of indices chosen.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.