# A basic SVG Pie chart

A basic SVG Pie chart. The chart uses tooltips which have the `outline` style of highlighting and it also has a key - which can be used in place of labels in order to be able to tell what the segments represent.

This goes in the documents header:

    <script src="RGraph.svg.common.core.js"></script>
    <script src="RGraph.svg.common.key.js"></script>
    <script src="RGraph.svg.common.tooltips.js"></script>
    <script src="RGraph.svg.pie.js"></script>

Put this where you want the chart to show up:

    <div style="width: 650px; height: 350px" id="chart-container"></div>

This is the code that generates the chart - it should be placed AFTER the `<div>` tag: