Weed is a new stats package in leu with Mint and others build using Ruby on Rails. It’s open source and rapidly improving. Do check it out.
Part of Weed is a pure-Ruby Sparklines implementation by Thomas Fuchs that’s meant to be API-compatible with Geoffrey’s Sparklines gem (that requires RMagick).