Google Chart API

Need a quick chart on your Web site and don’t want to bother with creating it in Excel then exporting the image? Try the Google Chart API instead? Just build a URL, set it as an img source and see your results.

For example here’s the code for a simple pie chart:

<img src=
cht=p3&chd=s:hW&chs=250x100&chl=Cool|Not Cool />

and the results are:

Or how about a Venn diagram?

It gets way more complicated but this should give you a basic idea.

2 Replies to “Google Chart API”

Leave a Reply

Your email address will not be published. Required fields are marked *