06 Dec 2007

Google Chart Api Super Cool

Google today released a simple image URL based Chart API.

Google Chart API

The URL to create this (random) chart is http://chart.apis.google.com/chart?cht=lc&chs=400x225&chd=s:CadEeHICa where cht=lc (line chart) is the chart type, chs=400x225 is the chart size, and CadEeHICa is an “encoded data string” with A-Z, a-z and 0-9 (chars) representing a 0-61 data range.

Use of this service is restricted to “50,000 queries per user per day”, so this can be combined with another simple (but unreliable) image caching API ImgRed, to bypass this limit.