to generate data.js : ./tojson.pl > data.js You can do various ways of selecting nodes, and selecting the data you want. relmin,relavg,relmax