Updated D3 to the latest version: 3.4.3, Also

- Removed previous version d3 file
- Added a d3 variable in graphs constructor that takes d3 object from require
 as in new d3 version, d3 object is not globally available.