Google Chart API

I was looking for JavaScript chart libraries yesterday for a project I’m considering and discovered Google Charts. The API, as you’d expect, is fantastic. As is the documentation. I whipped up this little map showing where I’ve been in the United States. The longer the darker (states not visited are white).

Next I’m going to develop a chart that will be generated from a MySQL database to show the history of gas prices per gallon that I’ve paid. It should be fun.


Where I’ve been

The URL for the map above, in case you’re interested:

http://chart.apis.google.com/chart?
chs=440x220&
chco=ffffff,a6d9fd,107bc6,083e64&
chtm=usa&
cht=t&
chld=ALAKAZARCACOCTFLGAHIIDILINIAKSKYLA
MEMAMNMSMOMTNENVNHNMNYNCNDOHOKORPA
RISCSDTNTXUTVTWAWY&
chd=t:0,100,72,0,72,90,0,90,0,0,30,6,0,0,100,0,0,
45,72,0,21,0,0,0,0,0,0,0,0,0,0,0,12,0,
0,0,0,0,6,24,0,12,0&
chf=bg,s,ffffff

Leave a Reply