JSFiddle - React, Tailwind, and code Playground

HTML

<script src="https://raw.github.com/mbostock/d3/master/d3.js"></script>
<div id="chartdiv">
    <svg id="chart" width="500" height="300">
        <rect x=.5 y=.5 width="300" height="150" fill-opacity=.2 fill=
        "#fcf"stroke="#000"/>
        <text fill="#000" x=20 y=50>&#x263A; <-- This is an extended char in svg.</text>
    </svg>
</div>

JavaScript

d3.select('#chart')
     .append("svg:text")
     .attr("x",20)
     .attr("y",100)
     .text("\u2192; <-- same char added from d3.");