O'Reilly 1.1: Hello Dot

The "Hello World" of RaphaelJS

HTML

<html>
    <head>
        <title>Red dot</title>        
    </head>
    <body>
        <div id="container"></div>
        <script src="//cdnjs.cloudflare.com/ajax/libs/raphael/2.1.0/raphael-min.js"></script>
        <script>
var paper = Raphael("container", 500, 300);
var dot = paper.circle(250, 150,50).attr("fill", "#FF0000").attr("stroke", "#000099").attr("stroke-width", 3);
        </script>
    </body>
</html>