A basic grouped SVG Horizontal Bar chart

This is an example of a basic Horizontal Bar chart that's grouped. It also uses the marginInnerTop and marginInnerBottom options so the bars and the tickmarks have a vertical margin.

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