This article relies excessively on references to primary sources. Please improve this article by adding secondary or tertiary sources. Find sources: "Google Chart API" – news · newspapers · books · scholar · JSTOR (January 2009) (Learn how and when to remove this template message)
Google Chart API
Original author(s)Google
Initial release2007
Final release
February 2010
Available inHTTP requests

The Google Chart API is a non-interactive Web service (now deprecated) that creates graphical charts from user-supplied data. Google servers create a PNG image of a chart from data and formatting parameters specified by a user's HTTP request. The service supports a wide variety of chart information and formatting. Users may conveniently embed these charts in a Web page by using a simple image tag.

Originally the API was Google's internal tool to support rapid embedding of charts within Google's own applications (like Google Finance for example). Google figured it would be a useful tool to open up to web developers. It officially launched on December 6, 2007.

Currently, line, bar, pie, and radar charts, as well as Venn diagrams, scatter plots, sparklines, maps, google-o-meters, and QR codes are supported.

Google deprecated the API in 2012[1][2] with guaranteed availability until April 2015. On March 18, 2019 Google turned off the API.[3] Google recommends the successor service Google Charts.[4]


The following URL creates the pie chart below:

External Libraries

Instead of creating the URL request manually, there are many open source libraries available for most programming languages.

Platform Name Website
Java Google Chart API wrapper[5]
Java charts4j[6]
C#/.NET ngchart
Ruby gchart
Python google-chartwrapper
PHP gchartphp

See also


  1. ^ "Changes to deprecation policies and API spring cleaning". Retrieved 2022-03-14.
  2. ^ "Google Charts: Terms of Service: Deprecation Policy".
  3. ^ "Image Charts". Google Developers. Retrieved 2022-03-14.
  4. ^ "Google Charts: Interactive charts for browsers and mobile devices".
  5. ^ "Google Code Archive - Long-term storage for Google Code Project Hosting". Retrieved 2022-03-14.
  6. ^ "Google Code Archive - Long-term storage for Google Code Project Hosting". Retrieved 2022-03-14.