Scatter plot working on index.html