HOME

TheInfoList



OR:

The Google Chart API is an interactive Web service (now
deprecated In several fields, especially computing, deprecation is the discouragement of use of some terminology, feature, design, or practice, typically because it has been superseded or is no longer considered efficient or safe, without completely removing ...
) that creates
graphical Graphics () are visual images or designs on some surface, such as a wall, canvas, screen, paper, or stone, to inform, illustrate, or entertain. In contemporary usage, it includes a pictorial representation of data, as in design and manufacture, ...
chart A chart (sometimes known as a graph) is a graphical representation for data visualization, in which "the data is represented by symbols, such as bars in a bar chart, lines in a line chart, or slices in a pie chart". A chart can represent tabu ...
s from user-supplied data. Google servers create a PNG image of a chart from data and formatting parameters specified by a user's
HTTP The Hypertext Transfer Protocol (HTTP) is an application layer protocol in the Internet protocol suite model for distributed, collaborative, hypermedia information systems. HTTP is the foundation of data communication for the World Wide Web, ...
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 An application programming interface (API) is a way for two or more computer programs to communicate with each other. It is a type of software Interface (computing), interface, offering a service to other pieces of software. A document or standa ...
was Google's internal tool to support rapid embedding of charts within
Google Google LLC () is an American multinational technology company focusing on search engine technology, online advertising, cloud computing, computer software, quantum computing, e-commerce, artificial intelligence, and consumer electronics. ...
's own applications (like
Google Finance Google Finance is a website focusing on business news and financial information hosted by Google. History Google Finance was first launched by Google on March 21, 2006. The service featured business and enterprise headlines for many corporation ...
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 A radar chart is a graphical method of displaying multivariate data in the form of a two-dimensional chart of three or more quantitative variables represented on axes starting from the same point. The relative position and angle of the axes is ...
, as well as
Venn diagrams A Venn diagram is a widely used diagram style that shows the logical relation between sets, popularized by John Venn (1834–1923) in the 1880s. The diagrams are used to teach elementary set theory, and to illustrate simple set relationships ...
,
scatter plots A scatter plot (also called a scatterplot, scatter graph, scatter chart, scattergram, or scatter diagram) is a type of plot or mathematical diagram using Cartesian coordinates to display values for typically two variables for a set of data. ...
,
sparklines A sparkline is a very small line chart, typically drawn without axes or coordinates. It presents the general shape of the variation (typically over time) in some measurement, such as temperature or stock market price, in a simple and highly cond ...
,
map A map is a symbolic depiction emphasizing relationships between elements of some space, such as objects, regions, or themes. Many maps are static, fixed to paper or some other durable medium, while others are dynamic or interactive. Although ...
s, google-o-meters, and
QR codes A QR code (an initialism for quick response code) is a type of matrix barcode (or two-dimensional barcode) invented in 1994 by the Japanese company Denso Wave. A barcode is a machine-readable optical label that can contain information about the ...
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 Google Charts is an interactive Web service that creates graphical charts from user-supplied information. The user supplies data and a formatting specification expressed in JavaScript embedded in a Web page; in response the service sends an im ...
.


Example

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


External Libraries

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


See also

*
Comparison of JavaScript charting frameworks There are different JavaScript List of charting software, charting JavaScript library, libraries available. Below is a comparison of which features are available in each. See also * Ext JS * JavaScript InfoVis Toolkit References

{{reflist ...
*
List of information graphics software This is a list of software to create any kind of information graphics: * either includes the ability to create one or more infographics from a provided data set * either it is provided specifically for information visualization Vector graphics V ...


References

{{reflist


External links


Google Chart API
Chart API Visualization API