Framework and DOM import

Hi,

I created report using framework. How can I import DOM for d3 chord chart?

/Code…/
const svg = d3.create(“svg”)
.attr(“viewBox”, [-width / 2, -height / 2, width-50, height-50]);

const chords = chord(matrix);
const textId = DOM.uid(“text”);

const group = svg.append(“g”)
.attr(“font-size”, 10)
.attr(“font-family”, “sans-serif”)
.selectAll(“g”)
.data(chords.groups)
.join(“g”);

/Code…/

Br,
JH