D3 append react component