# A basic SVG Scatter chart

The Scatter chart is quite versatile and has a few modes of operation which you can read about on the Scatter chart documentation page. This particular one is just a regular Scatter chart (though with two datasets) along with a key for telling the datasets apart and a title.

This goes in the documents header:

    <script src="RGraph.svg.common.core.js"></script>
    <script src="RGraph.svg.scatter.js"></script>

Put this where you want the chart to show up:

    <div style="width: 650px; height: 350px; border: 1px solid #ddd" id="chart-container"></div>

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