View source: R/plot_demography.R
| build_pyramid | R Documentation |
Build an interactive population pyramid
build_pyramid(demo_df, dataset_name)
demo_df |
Demographics data frame with birth_year, sex, patient_count. |
dataset_name |
Name of the dataset (used as title). |
A girafe object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.