MC Google Visualization
A MailChimp Labs Project
MC Google Visualization provides simple support for integrating Google Visualization charts and graphs with your own internal database. It includes a complete parser for the Google Visualization Query Language, giving you the same ease of pivoting and formatting data from your database as you'd have with Google Spreadsheets.
MC Google Visualization is written as a PHP 5 class, and it currently supports the MySQL, SQLite, and PostgreSQL database engines using PDO. Adding other database engines should be trivial, and patches are always welcome. We also require either the JSON extension to be installed, or the Zend_Json class from the Zend Framework available.