There's a few Horizontal Bar charts on this page that all demonstrate the various scale combinations that you can have.
<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="width: 400px; height: 450px" id="chart-container1"></div></div> <div style="width: 400px; height: 450px" id="chart-container2"></div></div> <div style="width: 500px; height: 550px" id="chart-container3"></div></div> <div style="width: 500px; height: 450px" id="chart-container4"></div></div> <div style="width: 500px; height: 450px" id="chart-container5"></div></div> <div style="width: 500px; height: 450px" id="chart-container6"></div></div>This is the code that generates the chart: