Create Cool Charts With Google Charts API
I recently discovered this great service by Google, which allows you to create many types of charts using a very easy API call.
This service is great for displaying dynamic data since the API call can be used as the image source, which means that using PHP/Javascript or any other dynamic language for forming the API call, will “link” your chart with the dynamic data you want to display
Here are a few calls along with the results:
1 | <img src="http://chart.apis.google.com/chart?cht=p3&chd=t:90,8,2&chs=500x200&chl=Firefox|IE|Others&chco=FF0000,00FF00,0000FF" alt="sample chart" /> |
1 | <img src="http://chart.apis.google.com/chart?chs=500x250&cht=gom&chd=t:70&chl=Productivity" alt="sample o-meter" /> |
Of course it’s not limited to be used with HTML, and you can use it in any programming language, as long as you know how to display images from the web.
Check the full documentation here. I’m sure that many great ideas will jump into your head when you see it.
No related posts.
Leave a Reply
About Me
Tags
Categories
- Algorithms
- Bash
- BlackBerry
- Collaboration
- Command Line
- Cool Tricks
- Easter Eggs
- Ebooks
- Firefox
- Hardware
- Humor
- iPhone
- Linux
- Linux Development
- Linux Kernel
- Networks
- Open Knowledge
- Other
- Productivity
- Programming
- Regular Expressions
- Science
- Security
- Shell Scripts
- Short Posts
- Social Networks
- Thoughts
- Tools
- Vim
- Web Development
- Websites
Popular Posts
Calendar
Archives
- September 2010 (2)
- August 2010 (2)
- July 2010 (5)
- June 2010 (1)
- May 2010 (1)
- April 2010 (3)
- March 2010 (1)
- January 2010 (1)
- December 2009 (2)
- September 2009 (13)
- July 2009 (1)
- June 2009 (6)
- May 2009 (4)
- March 2009 (18)
- February 2009 (10)
- January 2009 (10)
- December 2008 (7)
- November 2008 (8)
- October 2008 (1)
- August 2008 (1)
- July 2008 (1)
- June 2008 (1)
