Basic selection tool for charts in index.html