Plotly-react: integration of d3

Hi all,

is there some tutorial how to use d3 within a react project? The documentation is somewhat lacking in this regard.
To make it more tangible, how would one go about ‘selecting’ and applying a ‘click’ event on a css class using d3.select.on(click) from within a react plot?