undyingking: (Default)
[personal profile] undyingking
Google may be increasingly evil, but now they allow you to generate a chart simply by passing a bunch of url parameters. How potenitally useful is that? (Very.)

To show what I mean, suppose I want to include a little pie chart in this post. Rather than go off and prepare it in some sort of charting application, I can just write it as an image tag like this:

<img src="http://chart.apis.google.com/chart?cht=p3&chd=s:hW&chs=250x100&chl=Tasty|Pie">

which comes out like:



Of course this is even more powerful if you're using it programmatically to display interactively-generated data. As well as pie charts, you can do line, bar, Venn diagrams and scatter plots. And of course you can specify colour, fill pattern and all that sort of gubbins. All in the url parameters!

I now need to think of lots of exciting ways to use this facility. But, alas, just now I'm too busy to.

Date: 2007-12-18 02:40 pm (UTC)
From: [identity profile] bateleur.livejournal.com
I would, but it's a tribute to [livejournal.com profile] metame's existing icon on the same theme.

Date: 2007-12-18 04:35 pm (UTC)
From: [identity profile] undyingking.livejournal.com
Ah, so it is. Well, he should update his then.

Profile

undyingking: (Default)
undyingking

March 2012

S M T W T F S
     123
4 5678910
11121314151617
18192021222324
25262728293031

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jul. 8th, 2025 08:12 am
Powered by Dreamwidth Studios