Bookmark button

Library for animated bar-graphs in HTML pages based on coloured tables and JavaScript

This project aims to provide a convenient, easy and fast way to include bar-graphs and bar-charts of various kinds into web pages.

The approach taken utilises only coloured tables and JavaScript to achieve the goal, i.e. no images are used. An object-oriented JavaScript library handles the insertion of bar-charts into any HTML page. The graphs can be static or animated, and the animation can be controlled by the user in an interactive fashion.

The project was developed back in 2002 to present financial data in a way that appeared ground-breaking at the time. 2002 was an era of slow internet connections, table-based page layouts, and absent web standards. The library lay dormant for years after the project was completed. In the current age of Web 2.0 and Ajax, the simple and effective approach used here regains interest.

There is no clear-text documentation for the library, but there are some pretty good usage examples (just open the examples HTML download in your browser to see a demo), and the source code is object-oriented, well laid-out, and pretty self-explanatory.

I have tested the library on some modern-day browsers, notably Firefox 3 (needs to run in quirks mode) and Internet Explorer 8 Beta 2 (seems to eat it in standards mode), and everything seems to work fine.

Licence: To put it short: You can do whatever you want with the stuff, but I do not have any responsibility for anything that follows (also, see site disclaimer).

Files:

FileTypeSizeDownloadsLink
JavaScript library sourcejs14.81 KB53 downloads
Usage exampleshtml13.13 KB51 downloads
Everything in an archivezip5.84 KB15 downloads