JSFiddle - React, Tailwind, and code Playground
HTML
<script src="http://github.com/DmitryBaranovskiy/raphael/raw/master/raphael-min.js"></script>
JavaScript
// Creates canvas 320 Ă— 200 at 10, 50
var paper = Raphael(0, 0, 320, 200);
// Creates circle at x = 50, y = 40, with radius 10
var circle = paper.circle(50, 40, 10);
// Sets the fill attribute of the circle to red (#f00)
circle.attr("fill", "#ddd");
// Sets the stroke attribute of the circle to white
circle.attr("stroke", "#ddd");