Chartkick- load your JS chart graphics faster
We all love nice looking colourful charts ( 3d) on our web and mobile platforms. But most of these make the page load slower.
3d Visualizations of Pie Charts, Graph Charts, Bar Charts. Column Diagrams from web databases are generally rendered over standard JS using jQuery which sometimes can cause timeouts or may not be rendered properly if the page doesn't load fast.
Chartkick aims to solve that problem by simplifying your admin dashboard and giving each chart its own endpoint.
With Chartkick you can create beautiful Javascript charts using one line of Ruby.
Example of a Column Chart
<%= column_chart Task.group_by_day_of_week(:created_at).count %>
 Example of  a Pie Chart
<%= pie_chart Goal.group("name").count %>
 So how do you install it ?
Start by downloading Chartkick here
Add this line to your application's Gemfile:
And add the javascript files to your views. chartkick.js runs as a Rails engine - no need to install it.
Note: These files must be included before the helper methods.
<%= javascript_include_tag "//www.google.com/jsapi", "chartkick" %>
If you prefer Highcharts, use:
<%= javascript_include_tag "path/to/highcharts.js", "chartkick" %>
Head over to GitHub to read the rest of the documentation or if you are wiling to fork it.