Description Usage Arguments Details Value
View source: R/make_random_stacked_area.R
Make random stacked area plot
1 2 3 | make_random_stacked_area(groups = 20, n_colors = groups,
color_palette = NULL,
palette_colors = get_palette_colors(color_palette, n_colors))
|
groups |
num how many groups to create |
n_colors |
num how many different colors |
color_palette |
chr color palette |
palette_colors |
chr list of colors, usually generated from 'get_palette_colors()' |
Idea and code from 'https://www.r-graph-gallery.com/137-spring-shapes-data-art.html'
'ggplot' object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.