Why I don't have a girlfriend
This goes in the documents header:
<script src="RGraph.common.core.js"></script>
<script src="RGraph.common.key.js"></script>
<script src="RGraph.pie.js"></script>
<style>
table tr td:nth-child(1) {
vertical-align: top;
}
</style>
Put this where you want the chart to show up:
<div id="container" style="position: relative; max-width: 900px; margin-left: auto; margin-right: auto">
<canvas id="cvs" width="500" height="350" style="float: left">[No canvas support]</canvas>
<div id="key-container"></div>
</div>
This is the code that generates the chart - it should be placed AFTER the canvas tag(s):