plot_techmix | R Documentation |
Create a techmix plot
plot_techmix(data)
data |
A data frame like the output of |
An object of class "ggplot".
market_share.
# plot with `qplot_techmix()` parameters
data <- subset(
market_share,
scenario_source == "demo_2020" &
sector == "power" &
region == "global" &
metric %in% c("projected", "corporate_economy", "target_sds")
) %>%
prep_techmix(
span_5yr = TRUE,
convert_label = recode_metric_techmix,
convert_tech_label = spell_out_technology
)
plot_techmix(data)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.