1) using width property to change canvas width instead of setAttribute
2) new click on the button draws another graph
3) drawing a graph while loading the page
4) renamed 'generatedArray' function -> 'generate'
Merge remote-tracking branch 'origin/master'