An orange/blue SVG Horizontal Bar chart

An example of a Horizontal Bar chart which has the Y axis centered. The chart has a draw event attached to it so that when the draw() function is called a small bit of text is added to the bottom right of the SVG tag that serves as a label showing what the X axis represents.

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