From Surf Wiki (app.surf) — the open knowledge base
Google Chart API
Online data charting service
Online data charting service
| Field | Value |
|---|---|
| name | Google Chart API |
| author | |
| released | 2007 |
| latest release version | February 2010 |
| language | HTTP requests |
| discontinued | yes |
| website |
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 with guaranteed availability until April 2015. On March 18, 2019 Google turned off the API. Google recommends the successor service Google Charts.
Example
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 | https://code.google.com/p/googlechartwrapper/ |
| Java | charts4j | https://code.google.com/p/charts4j/ |
| C#/.NET | ngchart | https://code.google.com/p/ngchart/ |
| Ruby | gchart | https://web.archive.org/web/20100618222849/http://rubyforge.org/projects/gchart/ |
| Python | google-chartwrapper | https://code.google.com/p/google-chartwrapper/ |
| PHP | gchartphp | https://github.com/pacbard/gChartPhp |
References
References
- "Changes to deprecation policies and API spring cleaning".
- "Google Charts: Terms of Service: Deprecation Policy".
- "Image Charts".
- "Google Charts: Interactive charts for browsers and mobile devices.".
- "Google Code Archive - Long-term storage for Google Code Project Hosting.".
- "Google Code Archive - Long-term storage for Google Code Project Hosting.".
This article was imported from Wikipedia and is available under the Creative Commons Attribution-ShareAlike 4.0 License. Content has been adapted to SurfDoc format. Original contributors can be found on the article history page.
Ask Mako anything about Google Chart API — get instant answers, deeper analysis, and related topics.
Research with MakoFree with your Surf account
Create a free account to save articles, ask Mako questions, and organize your research.
Sign up freeThis content may have been generated or modified by AI. CloudSurf Software LLC is not responsible for the accuracy, completeness, or reliability of AI-generated content. Always verify important information from primary sources.
Report