A Replacement for the Google Image Charts API

The Google Image Charts API is shutting down on March 14, 2019. Although it's been deprecated since 2012, the shutdown will no doubt disappoint some developers out there.

The Image Charts API is being deprecated in favor of Google Charts, a Javascript library for generating interactive charts. Unfortunately, it isn't a perfect replacement. Google Charts requires Javascript, but some environments such as email, SMS, and chatbots cannot run Javascript.

So yesterday morning I decided to build QuickChart, an easy way to generate charts as PNGs. Charts are defined by a single URL. For example, this url:

https://quickchart.io/chart?c={type:'bar',data:{labels:['January','February','March','April','May'],datasets:[{label:'Dogs',data:[50,60,70,180,190]},{label:'Cats',data:[100,200,300,400,500]}]}}

Will produce this image:

Image Charts

QuickChart uses the popular Chart.js API, so if you're used to using Chart.js in your Javascript, just copy over your chart definition to a QuickChart URL and things will just work.

I open sourced the project because I wanted to avoid a future scenario in which people are dependent on proprietary image chart solutions.

Head to QuickChart.io to try it out. Enjoy!

comments powered by Disqus