working graph example
added function to get latest results, with date