Simon Willison’s Weblog

Subscribe

9 items tagged “googlecharts”

2010

Google Charts release notes, February 2010. More new Google Charts Image API features I hadn’t noticed before: charts of large data sets can now be generated using a POST request, but the killer feature is the ability to add ?chof=validate to see useful error messages. ?chof=json is interesting too—it gives you back a JSON object detailing the coordinates of various interesting shapes on the associated chart, which you can then use to create your own image maps or JavaScript tooltips. It’s a shame it doesn’t support JSON-P. # 27th April 2010, 12:07 pm

Google Image Charts: Mathematical (TeX) Formulas (via) I’m not sure when they added this, but you can now use the Google Charts Image API to render mathematical formulas, specified using TeX syntax. Wordpress.com and Wikipedia have both offered this feature for quite a while, but now you can use it anywhere on the Web. # 12th February 2010, 9:42 am

2009

JSLitmus. “A lightweight tool for creating ad-hoc JavaScript benchmark tests”. Includes an ingenious hack for graphing the results—it generates a Google Chart, then provides a TinyURL for viewing that chart in the future. The TinyURL is generated by pointing an inconspicuous iframe at the TinyURL API and letting the user copy-and-paste the resulting shortened URL directly out of the iframe. # 28th October 2009, 5:11 pm

2008

pygooglechart. I tried a bunch of Python wrappers for Google Charts and liked this one best. # 22nd December 2008, 11:43 am

Tracking Christmas Cheer with Google Charts. Brian Suda’s Google Charts tutorial on 24 ways has proved invaluable for figuring out how to handle grid lines and axis labels, both of which are pretty unintuitive (and not hugely helped by the official documentation). # 26th May 2008, 9:43 pm

LJWorld.com: Kansas Democratic Presidential Caucuses (via) The most beautiful election results page I’ve ever seen. Love the typography and the Google Charts integration. # 8th February 2008, 11:17 am

2007

Negative numbers in the Google Chart API. Stuart has some ingenious tricks for showing negative values on Google Charts, based on transforming the data to positive values and then relabeling the axes. # 8th December 2007, 9:03 am

Google Chart API Revisited. Marty does some more digging. # 7th December 2007, 11:59 pm

Unfortunately, I was shocked, horrified and moderately surprised to see that nowhere is there any mention of how to encode negative numbers. Google, I appreciate you trying to help, and I understand that this grew out of needs for Google Finance, where stock prices can never dip below zero. But there’s really not that much data out there in the real world that always exists solely above the origin.

Marty Alchin # 7th December 2007, 4:47 pm