Drawing elements with d3