Create stats_view.php

Example of how to use the library within the view of your choice and generate a graph using Flot.js