An SVG Pie/Donut chart with inner labels

This goes in the documents header:
<script src="RGraph.svg.common.core.js"></script>
<script src="RGraph.svg.pie.js"></script>
Put this where you want the chart to show up:
<div style="width: 350px; height: 300px; border: 1px solid #ddd" id="cc"></div>
    [No canvas support]
</div>
This is the code that generates the chart - it should be placed AFTER the <div> tag: