Home | Stats | Downloads | Scripts | Wiki
yes i do believe we have dedicated customer that do porn
-- tedly     Add quote.

Google Charts

2007-12-09 00:00:00 by Michael 0 Comments
Tags: programming google apis

I could swear that Google is reading my mind. I was just thinking the other day that it would be nice if somebody made a simple, easy to use API for generating charts on web pages. Lo and behold Google goes and does it.

I've been messing with other options like PyX for python, MRTG, and gnuplot but all of them are clunky and the images they generate are ugly, the charts generated by google are just regular PNG files so you can embed them in any web page using a simple tag.

For you python users out there I've written a small python module to encode values and generate a request URL, you can find it here.

Here is a small test application that I made, it graphs my car's fuel mileage history and the cost per mile over time by pulling data from a table in postgres.