update to d3.v3
Merge branch 'updated3'