Hi Vishwas,
The content of data in the file is a simple integer ranging from 1 to 100. These numbers are generated by running a shell script:
//Starting tag for shell script
for(( i=1;i<=300; i++))
do
shuf -i 1-100 -n 1
sleep 1
done
//Ending tag for shell script
In the Javascript code
http://jsfiddle.net/basu/fz9580gd/20/
I am calling an update script function after an interval of 2 seconds. On increasing the interval time to 4 or 5 seconds, the number of missing points in the graph reduces.