code for graph
data for graph
read from test.html