Adds chart to index.html