I'm trying to append ➤ into SVG using unicode as seen below.
g.append("text")
.attr("x", 10)
.attr("y", 10)
.text("➤");
➤
is displayed, but not ➤
Instead of using .text()
use .html()
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With