Skip to main content

spark

Function spark 

Source
fn spark(v: &[f64], w: usize) -> String
Expand description

Eight levels of block, scaled between the run’s own min and max.

Relative rather than absolute because a flat series at 8 191 and a flat series at 3 are the same shape, and the shape is what a sparkline is for — the numbers are printed beside it.