Create charts with Google Charts API on the fly

. Monday, September 1, 2008
  • Agregar a Technorati
  • Agregar a
  • Agregar a DiggIt!
  • Agregar a Yahoo!
  • Agregar a Google
  • Agregar a Meneame
  • Agregar a Furl
  • Agregar a Reddit
  • Agregar a Magnolia
  • Agregar a Blinklist
  • Agregar a Blogmarks

Google is always very well equipped when it comes to APIs. I found out about their Charts API today and want to let you all know how to use it. Its not very difficult - just like placing an image tag in your HTML document.

3D pie chart
For example, you want to have a 3D pie chart with two segments (one is 30% and the other is 70%). So, this will be the url for that graph:,30&chs=300x100&chl=Segment1|Segment2

And here comes the image output (generated by Google Charts!):

You can find out more about it here:


Kevin said...

Thanks! Very cool! Can't wait to try this on for my back end reporting.