Create a techmix plot
Arguments
- data
A data frame like the output of
prep_techmix()
.
Examples
# 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
)
#> The `technology_share` values are plotted for extreme years.
#> Do you want to plot different years? E.g. filter . with:`subset(., year %in% c(2020, 2030))`.
plot_techmix(data)