Sweet! Google charts API
As a nerd, nothing fascinates me more than a shiny new API to play with (it's right up there with linux powered toasters) . Well, the Google charts API might not be that new, and as a nerd, I probably should have known about it sooner. Hey, It's new to me, OK!? Don't ruin it for me!
Here is my "hello world" pie chart example:

and the code that produced it:
The Google charts API offers several types of charts:
Here is my "hello world" pie chart example:
and the code that produced it:
http://chart.apis.google.com/chart?cht=p3&chd=t:90,10&chs=250x100&chl=Beer.|Food.&chco=fff7c2,71613c
The Google charts API offers several types of charts:
- Line charts
- Your basic line charts, but with the ability to either specify x and y values or coordinates.
- Sparklines
- Little bitty line charts, that seem to be inspired by the Sparkline PHP Graphing Library.
- Bar charts
- Pretty cool bar charts, horizontal or vertical, multiple data series, etc.
- Pie charts
- 2d or 3d
- Venn diagrams
- These are cool. The colors of the different sections will automatically blend colors in the intersecting areas.
- Scatter plots
- Points are coordinates on an x and y axis, and a third data set can be specified to change the size of each point.
- Radar charts
- Like a line chart, but points are drawn between the center and perimeter of the chart area.
- Maps
- Print maps with the ability to highlight regions.
- Google-o-meter
- A dial-type meter where the dial points at a percentage specified (0 is all the way left and 100 is all the way to the right)






0 Comments:
Post a Comment
Links to this post:
Create a Link
<< Home