Skip to content

Puffbox

Simon Dickson's gov-tech blog, active 2005-14. Because permalinks.

2014 | 2013 | 2012 | 2011 | 2010 | 2009 | 2008 | 2007 | 2006 | 2005

Code For The People company e-government news politics technology Uncategorised

api award barackobama barcampukgovweb bbc bis blogging blogs bonanza borisjohnson branding broaderbenefits buddypress budget cabinetoffice careandsupport chrischant civilservice coi commentariat commons conservatives consultation coveritlive crimemapping dailymail datasharing datastandards davidcameron defra democracy dfid directgov dius downingstreet drupal engagement facebook flickr foi foreignoffice francismaude freedata gds google gordonbrown governanceofbritain govuk guardian guidofawkes health hosting innovation internetexplorer labourparty libdems liveblog lynnefeatherstone maps marthalanefox mashup microsoft MPs mysociety nhs onepolitics opensource ordnancesurvey ournhs parliament petitions politics powerofinformation pressoffice puffbox rationalisation reshuffle rss simonwheatley skunkworks skynews statistics stephenhale stephgray telegraph toldyouso tomloosemore tomwatson transparency transport treasury twitter typepad video walesoffice wordcamp wordcampuk wordpress wordupwhitehall youtube

Privacy Policy

  • X
  • Link
  • LinkedIn
  • 4 Jan 2008
    Uncategorised

    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. 🙂

    Responses

    1. David P
      4 Jan 2008

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

    2. SimonD
      4 Jan 2008

      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. alaninbelfast
      4 Jan 2008

      (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!

Proudly Powered by WordPress