Skip to content

Instantly share code, notes, and snippets.

@cesare
Created January 20, 2013 03:00
Show Gist options
  • Save cesare/4576421 to your computer and use it in GitHub Desktop.
Save cesare/4576421 to your computer and use it in GitHub Desktop.
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<title>Raphael</title>
<style type="text/css">
</style>
</head>
<body>
<div id="holder">
</div>
<script src="http://raphaeljs.com/raphael.js"></script>
<script src='g.raphael-min.js' type="text/javascript"></script>
<script src='g.pie-min.js' type="text/javascript"></script>
<script type="text/javascript">
window.onload = function () {
var r = Raphael("holder");
r.piechart(320, 240, 150, [55, 20, 13, 32, 5, 1, 2, 10]);
}
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment