Reverted back to the older version of d3 because in the latest version we
had a problem with animation.

- removed d3 latest version files
- added the right d3 version in app.js
- removed d3 variable as it is not needed for older version of d3.