In this article cohort analysis for a forum application is described. Post starts with an explanation of what is cohort analysis and how it works and ends with a Ruby script flavored with some SQL and a beautiful plot.
It is extremely important to know how well your project is going. The best way to do it – just plot some metrics. In blog post Visualising database some tricky ActiveRecord queries are described with code examples of Google Charts to visualise query results.