change d3 tags to append to unique divs