A basic SVG Segmented donut chart

This goes in the documents header:
<script src="RGraph.svg.common.core.js"></script>
<script src="RGraph.svg.segmented.js"></script>
Put this where you want the chart to show up:
<div style="width: 350px; height: 350px" id="chart-container"></div>
This is the code that generates the chart: