So I am working on recharts where I am customising dots which can be only done with svg.
<svg className="svg-triangle">
<g>
<defs>
<pattern id="image" x="0%" y="0%" height="100%" width="100%"
viewBox="0 0 512 512">
<image x="0%" y="0%" width="400" height="400" href="../../Assets/Images/Icons/triangle_default.png"></image>
</pattern>
</defs>
<circle cx={cx} cy={cy} r={6} fill="url(#image)" />
</g>
</svg>
But it keeps showing like this and I don't understand why