Google Chart API: 2008 Mashup Fuel

Rich Tehrani : Communications and Technology Blog -
Rich Tehrani
| Communications and Technology Blog - Latest news in IP communications, telecom, VoIP, call center & CRM space

Google Chart API: 2008 Mashup Fuel

With all the talk of web mashups I find it amazing that the most interesting ones still seem to be map-based and especially revolve around the Google Map API. Although Google doesn’t monetize this API, the free publicity the company has received because of this application programming interface is immense.
So if mapping APIs was the first phase of mashups, will the second phase be charts? It would seem we may find out soon as according to Google Blogoscoped the new Google Chart API allows you to display charts and graphs by sending parameters to the API and receiving a PNG graphic in return.
For example the following URL:
will yield the following chart:

This is what the parameters mean:
chart type: in this case, a pie chart. p would specify a flat pie chart
chd=t: 40,49,20,2,2,2
chart values: text-encoded, and separated by a comma
custom chart size: 350x150 pixels
Labels: separated by the pipe character
What I like about this service is how easy it is to generate the charts. Moreover there are lots of parameters you can choose that I didn’t mention such as colors for the segments and background as well as resulting graphic label format.

Update: This is just a demo chart and is not meant to represent anything at all except a test of how the charting service works.

Update 12/08/07:

This code yileds the following chart (note there are colors specified in this case):

Related Articles to 'Google Chart API: 2008 Mashup Fuel'

Featured Events