Sparklines Using the New Google Charting API

Google’s new charting API is one of the cooler technologies we stats geeks have seen in quite awhile. I had heard that they were going to release some sort of live charting application, but what they’ve quietly announce with make it really easy for anyone to integrate gorgeous charts into their webpages or applications.

Sparklines can be easily integrated — just set lfi as your chart type.

The sparkline comparison shows Tom Brady’s TD passes per season. His average for the 2007 season has been 3.2; if he maintains that average he’ll finish with 54 TD passes, setting the new NFL record. Will he do it? Well…that’s 9 more TDs needed in two games. The sparklines clearly indicate that his late season production tends to slip!

Tom Brady TD Production by Season

Season TDs by Game Game Average and Season Total
2007 Average through 15 weeks=3.2 TD/Game | Est. Total: 54 TDs
2006 Average TD/Game=1.5 | Total: 24 TDs
2005 Average TD/Game=1.6 | Total: 26 TDs
2004 Average TD/Game=1.8 | Total: 28 TDs
2003 Average TD/Game=1.8 | Total: 28 TDs


Some useful links regarding the Google Chart API:

Also check out this interface for creating charts…

Related posts:

Comments

Comments are closed.