Description Usage Arguments Examples
View source: R/interactive_pie_chart.R
Function for creating interactive pie chart of percent of macronutrients in prepared meal
1 | macro_pie_chart(macro_percent)
|
macro_percent |
data frame, data frame of amount of macronutrients used to prepare the meal |
1 2 3 4 | list_of_products <- list("Banan", "Truskawki")
weight_of_products <- list(100, 100)
macro_percent <- macronutrients_of_meal(list_of_products, weight_of_products)
macro_pie_chart(macro_percent)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.