Added d3.js functionality as well as a random data generator