/Sparklines.jl

A Julia implementation of ▁▂▃▅▂▇ spark: simple printing of unicode trendlines

Primary LanguageJuliaOtherNOASSERTION

Sparklines

Build Status

A Julia implementation of spark.

Example usage

julia> using Sparklines

julia> spark(sin(0:0.2:2pi))
▄▅▅▆▇▇▇███▇▇▆▆▅▅▄▃▂▂▁▁▁▁▁▁▁▁▂▂▃▄

julia> spark(cumsum(randn(80)))
▄▄▄▃▃▃▄▅▅▄▃▄▂▁▁▁▁▁▁▁▂▃▄▄▅▄▄▅▄▅▆▅▄▃▃▃▄▄▅▅▆▅▅▅▅▅▆▅▅▄▄▅▅▆▆▇█▇▇▇▆▅▆▅▄▄▃▄▆▆▅▆▇▇▇▇▇▆▅▅