spark
sparklines in your Crystal
See? Here's a graph of your productivity gains after using spark: ▁▂▃▅▇
install
This is a Crystal port of the python spark.
usage
Just pass to the Spark.string
function an array of numbers.
Spark.string([0,30,55,80,33,150])
▁▂▃▅▂▇
the function accept a second parameter for normalize data and fit min:
Spark.string([0, 30, 55, 80, 33, 150], true)
▁▂▄▁█