Helper function to make stratified plots by each demographic field.
1 | make_demo_plot(data, metric, demo)
|
data |
Dataframe with demographics |
metric |
Field from dataframe to stratify |
demo |
Demographic fields to plot |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.