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:
 
http://chart.apis.google.com/chart?
cht=p3&chd=t:40,49,20,2,2,2&chs=450x225
&chl=Avaya|Cisco|Nortel|Toshiba|NEC|Aastra
 
will yield the following chart:

 
 
This is what the parameters mean:
 
cht=p3
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
chs=450x225
custom chart size: 350x150 pixels
chl=Avaya|Cisco|Nortel
|Toshiba|NEC|Aastra
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):

http://chart.apis.google.com/chart?cht=p3&
&chco=ff0000,00ff00,0000ff
&chd=t:40,49,20,2,2,2,50,45&chs=450x225
&chl=Avaya|Cisco|Nortel|Toshiba|
NEC|Aastra|Scream|Tin%20Can




The opinions and views expressed in comments, blogs, etc. are those of the authors alone and not necessarily those of TMC, TMCnet, or its editors. TMCnet reserves the right to edit, delete, or otherwise make changes to the content that appears on these pages at its own discretion and as it deems necessary.
| 2 Comments | 0 TrackBacks

Listed below are links to sites that reference Google Chart API: 2008 Mashup Fuel:

Google Chart API: 2008 Mashup Fuel TrackBack URL : http://blog.tmcnet.com/mt/mt-tb.cgi/34293

2 Comments

The google charts API is a pretty cool addition. I added it to Deki Wiki and made it easies to customize the values, making it simple to embed charts into a wiki page:
http://www.mindtouch.com/blog/2007/12/11/google-charts-and-graphs/

It’s very good article. Great site with very good look and perfect information.

Leave a comment

Recent Activity

Sunday

Saturday

More...

Recent Comments

  • Chad: Drop in Wikipedia editing is all because of trolling and read more
  • oyun: Plugins You Probably Don’t Use But Should 11 Most Popular read more
  • Jamie: Wikipedia is loaded with administrative trollers and flamebaiters. The articles read more
  • Ben: NextTel was one of the first company that offered VoIP read more
  • uglyphilkarn: Lets put it this way, anon dregs...there are 5 retards read more
  • uglyphilkarn: xG Watcher: SUCK IT!!! BWHAHAHAHAHAHAHAAHAHAHA read more
  • xG Watcher: Only by sheer luck have you not already been in read more
  • oyunlar1: thankyou read more
  • Blatant Lying: "the 4 guys against this company...if you added up their read more
  • ARYOL PREFABRIK: google is the one of the best internet developer. thank... read more

Subscribe to Blog

Blogroll

Recent Entry Images

  • sagem-interstar-xmediusfax-outbound.png
  • tmcnet-feature-plaer-jquery-javascript.jpg
  • monopoly.jpg
  • itexpo-east-2009-exhibit-hall-aisle.jpg

Archives

Around TMCnet Blogs

  • Communications and Technology Blog - Tehrani.com:
    Interop New York 2009 Videos
  • On Rad's Radar?:
    Open Neutral Fair
  • VoIP & Gadgets Blog:
    iLive ISP209B Portable Speaker System Review - Alarm Clock
  • Communications and Technology Blog - Tehrani.com:
    Back From Interop NY 2009
  • First Coffee:
    Unified360, Riff Raters for IPhone, AltiGen, DocuSign at Dreamforce
  • On Rad's Radar?:
    Mainly Cellular News Tidbits
  • The Readerboard:
    Make Customers Smile? Give Them Low Priced Half-Decent Products
  • VoIP & Gadgets Blog:
    VoIP in Google ChromeOS
  • Latest Whitepapers

    TMCnet Videos