updated to d3 3.0.4