correct reference to d3