Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 Example  





2 External Libraries  





3 See also  





4 References  





5 External links  














Google Chart API






Español
Polski
Português
 

Edit links
 









Article
Talk
 

















Read
Edit
View history
 








Tools
   


Actions  



Read
Edit
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Cite this page
Get shortened URL
Download QR code
Wikidata item
 




Print/export  



Download as PDF
Printable version
 
















Appearance
   

 






From Wikipedia, the free encyclopedia
 


Google Chart API
Original author(s)Google
Initial release2007
Final release

February 2010

Available inHTTP requests
Websitedevelopers.google.com/chart/image/

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]

Example[edit]

The following URL creates the pie chart below:
http://chart.apis.google.com/chart?
chs=200x200
&chdlp=b
&chtt=Uberman
&chdl=Asleep|Awake
&chd=t:1,11,1,11,1,11,1,11,1,11,1,11
&cht=p
&chco=586F8E,7D858F,586F8E,7D858F,586F8E,7D858F,586F8E,7D858F,586F8E,7D858F,586F8E,7D858F

External Libraries[edit]

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] https://code.google.com/p/googlechartwrapper/
Java charts4j[6] 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

See also[edit]

References[edit]

  1. ^ "Changes to deprecation policies and API spring cleaning". Retrieved 2022-03-14.
  • ^ "Google Charts: Terms of Service: Deprecation Policy".
  • ^ "Image Charts". Google Developers. Retrieved 2022-03-14.
  • ^ "Google Charts: Interactive charts for browsers and mobile devices".
  • ^ "Google Code Archive - Long-term storage for Google Code Project Hosting". code.google.com. Retrieved 2022-03-14.
  • ^ "Google Code Archive - Long-term storage for Google Code Project Hosting". code.google.com. Retrieved 2022-03-14.
  • External links[edit]


    Retrieved from "https://en.wikipedia.org/w/index.php?title=Google_Chart_API&oldid=1232425322"

    Categories: 
    Google services
    Visualization API
    Hidden categories: 
    Articles with short description
    Short description matches Wikidata
    Articles lacking reliable references from January 2009
    All articles lacking reliable references
     



    This page was last edited on 3 July 2024, at 17:32 (UTC).

    Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



    Privacy policy

    About Wikipedia

    Disclaimers

    Contact Wikipedia

    Code of Conduct

    Developers

    Statistics

    Cookie statement

    Mobile view



    Wikimedia Foundation
    Powered by MediaWiki