Added first version of data generate script for d3.js.