access parent data in d3