A simple two-dimensional example with no inputs:
Complete code for this example:
<div class="mathcell" style="height: 3in">
<script>
var parent = document.currentScript.parentNode;
var id = generateId();
parent.id = id;
MathCell( id, [] );
parent.update = function( id ) {
var data = [ text( 'Hello World!', [0,0] ) ];
var config = { type: 'svg', axes: false };
evaluate( id, data, config );
}
parent.update( id );
</script>
</div>