I want to add degree html code °
const degreeNum = d3
.select(`#windBox${order}`)
.append("text")
.attr("x", 250)
.attr("y", 130)
.style("font", "bold 50px sans-serif")
.style("fill", "url(#lgTextDegree)")
.text(`${degree}`); // here i want to add html code
i try Template literals like this
.text(`${°}`)
but not working. How to solve this problem??