Skip to contents

This function generates a coloured generative art ggplot object from stream charts.

Usage

streams(
  bg_col = "white",
  line_col = "white",
  fill_col = c("#5F4690", "#1D6996", "#38A6A5", "#0F8554", "#73AF48", "#EDAD08",
    "#E17C05", "#CC503E", "#94346E", "#6F4070"),
  type = "right",
  s = 1234
)

Arguments

bg_col

Background colour. Default "white".

line_col

Line colour. Default "white".

fill_col

Vector of fill colours.

type

Rotation of stream. Default "right".

s

Seed value. Default 1234.

Value

A ggplot object.