Canvas pie with tooltips

March 8th, 2008. Tagged: canvas, images, JavaScript

This is very flattering: Greg Houston took my script for DIY canvas pie and added tooltips and better colors logic. Here's the result, it's really nice, built with some MooTools. The tooltips are not supported in <canvas> but Creg used an image that overlays the pie and set the tooltips with an image map. Clever, isn't it?

I just used random colors for the pieces of the pie, but Greg knows better. Based on a tutorial by Jim Bumgardner, he was able to achieve much more pleasing, yet reliable results. Funny thing that Jim works in Yahoo! two floors above me (used to be even on the same floor).

Check the demo and the post, cool stuff, works in IE too!

Tell your friends about this post: Facebook, Twitter, Google+

2 Responses

  1. Oh, ego-driven RSS feed, you have found another nugget for me to savor…

    Nice to see your canvas stuff being used for the powers of good, Stoyen!

    - jim

  2. Hehe, nice to hear from you, Jim.

Leave a Reply