d3 assignment