Random Bar Chart | JavaScriptSource

Random Bar Chart

Keith Hendler Jul 25, 2005

Click on the ReDraw button and the bars in the graph are redrawn randomly. The total is calculated on the top. I used styles in conjunction with a JavaScript function that sets the height of the red single cell tables to a random amount anywhere between 1 pixel and 300 pixels.

Leave a Response