bump d3 to v3 to fix some issues