returning objects created via d3