JSFiddle - React, Tailwind, and code Playground

HTML

<link rel="stylesheet" href="http://jsxgraph.uni-bayreuth.de/distrib/jsxgraph.css">
<script src="http://jsxgraph.uni-bayreuth.de/distrib/jsxgraphcore.js"></script>
<div id="jsxgbox" class="jxgbox" style="width:500px; height:500px;"></div

JavaScript

var board = JXG.JSXGraph.initBoard('jsxgbox', {
    axis: true
});

board.create('plot', ['sin(x^2)']);