Google Charts data source implementation in PHP