Refactoring donut chart code

Now you can pass the location of the data file in the script on
index.html