Google new chart API

7 December 2007

google_chart_api.jpg
a new API from Google that generates information charts in a dynamic way. its usage is quite straightforward: you link to an image in the form of a parameterized URL, such as http://chart.apis.google.com/chart?cht=
p3&chd=t:90,49&chs=400x200&chl=data|bling
.

"cht=p3" is the chart type, in this case, a pie chart.

"chd=t:90,49" are the chart values, text-encoded, and separated by a comma.

"chs=400x200" is the custom chart size, 400 by 200 pixels.

"chl=Data|Bling" are the different labels for the pie chart sections, separated via the pipe character.

chart types include: line charts, bar charts, pie charts, Venn diagrams & scatterplots.

[link: google.com|via blogoscoped.com]

add to delicious.gif add to digg

recent entries

greenpix zero-energy massive LED display Google trigram frequency visualization Diesel infographic safety video oh shiit spelling frequency information design patterns cookbook msnbc 3D live news reader average American consumer spending wifi geographical mapping online data visualization talks bus routes data sculpture London crime statistics sculpture information design @ Webby awards online stalagmite bar graph Ben Fry conference talk

extra

google_chart_api2.jpg

google_chart_api3.jpg

comments

I can see this would be very useful. Thanks for pointing it out.

Thanks for pointing this out. It is very cool. I look forward to integrating it into my future web apps.

I blogged about it here

Aren't pie charts more like http://chart.apis.google.com/chart?cht=p3&chd=t:10,90&chs=400x200&chl=data|bling ?

@n[ate]vw - cute ;o)

This is a great tool, on the other hand, get ready to see a lot of chart junk in the blogosphere!

Thanks for pointing this out -- it inspired me to build a simple charting interface: www.style.org/chartapi/

I think I found an error.

Try out

http://chart.apis.google.com/chart?cht=p&chd=t:258,29,6,3&chs=600x200

...and do the math...

shop

post a comment