This is a small library that can be used to create the JSON similar JavaScript Literal data parameter for Google Visualization DataSources (more info on Google Developers Documentation)
This package can be installed using Composer by running
composer require jsto/google-visualization-php dev-master