Description Usage Arguments Examples
View source: R/line_chart_plot.R
Create line chart of processed data
1 2 3 |
data |
Dataframe/tibble of processed GCAM data |
output_dir |
Output directory to save charts to |
fill_col |
Column name, in quotes, to color by. Default is "scenario". To use other column, may need to add facet. |
diff |
If true, adds subtitle to plot and DIFF to output name |
region |
String of region name to filter by |
break_size |
Interval of years to print on x axis, starting with minimum year in data. Default is 10 years |
1 2 | line_chart_plot(df, output_dir = "/outputs")
line_chart_plot(data[["primary_energy"]], output_dir = "/outputs")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.