Have you ever heard about gruff ?
Its a nice library for making beautiful graphs out of data from ruby.
The name of the gem is
gruff so add
gem 'gruff' to your Gemfile and execute
I am going to build a line chart of counted data.
The Data is managed by DataMapper
The Table looks like this: