<canvas> does have some issues (no native text drawing, no native IE support,
hard to get static copies of the image, etc.), but its a fairly serviceable solution.
Here's some pointers:
Perl Contrarian & SQL fanboy