Note: For browser security reasons the AJAX demos don't work offline. You can view the demos on the RGraph website here:

A Horizontal Bar chart fetching its data via AJAX

[No canvas support]

This goes in the documents header:
<script src="RGraph.common.core.js"></script>
<script src="RGraph.hbar.js"></script>
Put this where you want the chart to show up:
<canvas id="cvs" width="600" height="600">
    [No canvas support]
This is the code that generates the chart:
   RGraph.AJAX.getCSV('/getdata.html', function (data)
        new RGraph.HBar({
            id: 'cvs',
            data: data,
            options: {
                grouping: 'grouped',
                vmargin: 5,
                yaxisLabels: ['Charlie','Jake','Luis','Jack','Bernie','Luis','Bob','Joe','Jack','Cynthia'],
                colors: ['Gradient(white:#3366CC:#3366CC)'],
                backgroundGridHlinesCount: 10,
                backgroundGridVlinesCount: 5,
                textSize: 16,
                marginLeft: 100