GoogleのAPIでグラフ。

かなり使えそう、と思ったけど、、
どうでしょ?

■Google Chart API
http://code.google.com/apis/chart/

■JavaScript++かも日記: 【Webサービス】Google Chart API
http://jsgt.org/mt/archives/01/001832.html

ただ、グラフのデータを、パラメータ用のフォーマット(文字列)に変換するのが、
手動では、かなり手間なので、
そこら辺をJSなりで、自動化&簡素化してあげれば、
プログラムとか分からない人でも、更新作業ができるはず。
もちろん、プログムラムと連動させれば、
自動更新だって、出来ちゃうしね。

なもんで、このブログのカテゴリー毎の、
エントリー数の割合をグラフ化してみました。

Sample chart

phpのコードは、あまりに酷いので、公開は出来ませんが。。

あと、これ↓には注意!

Usage Policy
Use of the Google Chart API is subject to a query limit of 50,000 queries per user per day. If you go over this 24-hour limit, the Chart API may stop working for you temporarily. If you continue to exceed this limit, your access to the Chart API may be blocked.

って言っても、5万アクセス/1日なら、このサイトには関係ありませんけど。。

Add Bookmark

Post Comment

TrackBack URL

http://blog.trustworks.biz/cgi-bin/mt-tb.cgi/117

2010/01

01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31

Studying

  • RSS2.0
  • Skype