Random Graph

Touch the graph to generate some new random data.

Your browser doesn't support HTML5, which is required for this web page to work properly. Please consider trying again with the latest version of a HTML5 capable browser, such as Firefox, Chrome, Safari or IE9.

 

If you like to include graphs in your web pages, have you ever thought that static images could be a bit more exciting and interactive. Graphing the data dynamically is quite an easy way of brightening up graphs in modern browsers that implement HTML5, including browsers on portable devices such as Android, iPhone, iPad or iPod Touch.

The program running above demonstrates how data graphing could look using processing.js and a canvas object. It generates random data and adds a little animation to make it look a bit more exciting than a static graph. Of course, making an effective dynamic graph would mean adding a little more sophistication, but hopefully this example will excite you enough to give it a go.