Google’s fantastic charts API

The launch of Google’s new Charts API last month didn’t make many ripples, or then again, maybe I was too busy to notice. But I’ve just used it in anger for the first time, and it’s fantastic.

The ability to create graphics dynamically, by passing values in a URL query string, isn’t anything new. But as ever, Google goes far beyond the call of duty. You can have line graphs, bar charts, pie charts, Venn diagrams and scatter plots. You can configure the size, the axes, the labels, the data markers and the colours (including backgrounds, fill areas and even gradient effects)… and include it in your page as easily as any other image. Just glance down through the examples on the API documentation page, and see how much it can do.

Once again, this is the kind of tool I just wish I’d had access to five years ago. I can’t tell you the agony I went through whilst at National Statistics, trying to get the IT department to buy or code me something like this.

The only catches are a limit of 50,000 queries per user (?) per day, and the rather arcane method for calculating and communicating the data values. This is just crying out for a simple web-based form to produce the necessary query string.

You want examples? Sure. Here’s last night’s Iowa Caucus results:

I’ve also added a pie chart to the blog’s sidebar, showing how many people have got round to switching from my old RSS feed to my new Feedburner feed. :)

About these ads

3 Responses to “Google’s fantastic charts API”


  1. 1 David P 4 January 2008 at 4:03 pm

    How are you counting those who are now hitting BOTH your RSS feeds to be on the safe side?

  2. 2 SimonD 4 January 2008 at 6:44 pm

    I didn’t think that particular stat would ever be contentious! :)

    Basically, I’m not. My guesstimate of RSS subscribers comes from adding Google Reader (70) to Bloglines (20), plus a dozen to cover the various iGooglers, netvibers, even Kinja types (you know who you are). That gives me a target figure for the number of people I want to see using the Feedburner feed.

    Thanks to the dozen of you who acted within the first 24 hours. Now what’s keeping the rest of you??

  3. 3 alaninbelfast 4 January 2008 at 7:43 pm

    (Slightly lazy to ask rather than Google to find out, but …)

    Can we subscribe to the comments feed through FeedBurner too? And you might want to try to amend the “RSS Entries” link in the page footer to point to FeedBurner too!


Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s





Follow

Get every new post delivered to your Inbox.

%d bloggers like this: