Here is a new feature of Firefox 1.5.x, Apple Safari and Opera 9. I can draw using pure Javascript using the
<Canvas> HTML Tag. In case you are using one of the browsers mentioned above, welcome to the brave new world of JavaScript Power. First it was Ajax now Canvas. Nice.
| Actual Raw Data from System Logs |
Canvas Graph of the Same Data |
Message Type  | Count |
| access denied | 42 |
| content | 494 |
| cron | 277 |
| page not found | 5043 |
| php | 779 |
| search | 47 |
| user | 16 |
|
This is not an image.
|
The graph you are seeing above has been drawn using JavaScript only, it takes live data from my website CMS on types of errors/ activities occuring and paints it dynamically. Currently no Ajax, so you must refresh the page to see latest trends in errors.
More infomration about Canvas HTML tag is here. Also see these nice Javascript First Person Shooters here and here written using Canvas only.
For code right click and view source.