Added D3.js dependency and edited main.html