An Entry About Coding

A first for this blog! I really like the new Chart API announced by Google which lets you do this:

simply by coding up a URL with parameters. Insert it as an image, and Google will send back the chart in PNG format. That pie was made with the following ingredients:

http://chart.apis.google.com/chart?
cht=p
&chs=300×120
&chf=bg,s,fff2cc
&chtt=Willingham+Elections+2007
&chd=t:66,16,9,7,2
&chl=Lazy+Bastards|Brian+Burling|Pat+Daniels|Leslie+Gelling|Nicola+Andrews
&chco=00c000,0000c0,c0c0c0,c0c000,c00000

You are limited to 50,000 hits a day, so I think I’ll be safe. I took the data from this image, which I originally made in Excel and captured, etc.

Democracy Inaction 2007

Leave a Reply

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