spark_line: Draw a sparkline line graph with Braille characters.

View source: R/spark.R

spark_lineR Documentation

Draw a sparkline line graph with Braille characters.

Description

You might want to avoid sparklines on non-UTF-8 systems, because they do not look good. You can use is_utf8_output() to test for support for them.

Usage

spark_line(x)

Arguments

x

A numeric vector between 0 and 1

Details

x <- seq(0, 1, length = 10)
spark_line(x)
#> ⣀⡠⠔⠊⠉                                                                           

See Also

spark_bar()


cli documentation built on June 22, 2024, 10:57 a.m.