• ITVidya.com One Purpose...One Dream...One Vision..One Mision..Your Wealth Creation through Knowledge, Networking and Opportunity

Google new chart API

A new API from Google that generates information charts in a dynamic way. its usage is quite straightforward: you link to an image in the form of a parameterized URL, such as http://chart.apis.google.com/chart?cht=p3&chd=t:90,49&chs=400x200&chl=data|bling.

"cht=p3" is the chart type, in this case, a pie chart.

"chd=t:90,49" are the chart values, text-encoded, and separated by a comma.

"chs=400x200" is the custom chart size, 400 by 200 pixels.

"chl=Data|Bling" are the different labels for the pie chart sections, separated via the pipe character.

chart types include: line charts, bar charts, pie charts, Venn diagrams & scatterplots.
View Demo
More...

anilomanwar's picture