Charting Service Spreads the Load

January 10th, 2008 by Phil

With the introduction of its Charting API, Google has made it easier to publish charts online.

Sample Chart

The service uses a specially formatted url placed in a standard html img tag. The data in the url is used by Google’s servers to create chart images on the fly. Chart types include:

  • Line charts
  • Bar charts
  • Pie charts
  • Venn diagrams
  • Scatter plots

For experimentation, and for ad-hoc chart production, Dion Almaer has created a useful Chart Tool, that takes your source data and builds a suitable chart url.

Chart Maker - Generator for the Chart Server API

Chart Maker - Generator for the Chart Server API via kwout

Developers wishing to automate the production of charts from dynamic data sets can use the API documentation to explore the full range of possibilities.

Developer's Guide - Google Chart API - Google Code

Developer’s Guide - Google Chart API - Google Code via kwout

This API is open to a broad range of applications from presenting market trends, through price comparisons to log analysis and social network statistics. The daily limit of 50,000 queries makes this suitable for small or medium sites, or for larger sites if an image cache is used.

For smaller sites on shared hosts important benefits are the reductions in bandwidth and cpu load, as the images are constructed and served off-site. This helps keep hosting costs down while increasing the likelihood of surviving a popular Digg.

[Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]

Posted in Content Management, Tools

Leave a Comment

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.

About Loosing Site

Putting your business on-line is no longer about setting up a website and having an “enquiries” address. Reputation, branding, research, service delivery and marketing extend into social networks and social media sites. Web tools are supplementing or replacing desktop applications, while the lower costs and expanding features of mobile devices are making ubiquitous access an affordable reality. We collaborate with colleagues that we've never met in person and inform our opinions with custom data feeds.

Loosing Site describes these changes; analysing trends, signposting resources and providing in-depth reviews and tutorials.