added a legend to bottom of index.html