Google Chart API
|This article relies too much on references to primary sources. (January 2009) (Learn how and when to remove this template message)|
The Google Chart API is a tool that lets people easily create a chart from some data and embed it in a web page. Google creates a PNG image of a chart from data and formatting parameters in an HTTP request. Many types of charts are supported, and by making the request into an image tag, people can simply include the chart in a web page.
Originally it was an internal tool to support rapid embedding of charts within Google's own applications (like Google Finance for example). Google figured it would be a useful tool to open up to web developers. It officially launched on December 6, 2007.
This API was deprecated in 2012 with guaranteed availability until April 2015. After that period, Google reserves the right to turn it off without notice, although as of April 2016, there are no plans to do so. The alternative recommended by Google is Google Charts.
The following URL creates the pie chart below:
Instead of creating the URL request manually, there are many open source libraries available for most programming languages.
|Java||Google Chart API wrapper||https://code.google.com/p/googlechartwrapper/|