This is a floating Bar chart that could be used in order to indicate a range of sorts. It's actually a regular stacked Bar chart but just has the first color set to transparent. The background color has been set to a gradient going from white to slightly gray.
<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 id="chart-container" style="600px; height: 250px; display: inline-block"></div>This is the code that generates the chart:
<script> data = [[5,16],[8,12],[9,16],[8,12],[9,15],[5,18],[4,12],[3,16]]; var bar = new RGraph.SVG.Bar({ id: 'chart-container', data: data, options: { xaxisLabels: ['Quentin','Bob','Neil','Olga','Charles','Chris','Luis','Pete'], xaxisColor: 'gray', colors: ['transparent', 'gradient(red:#fdd)'], backgroundColor: 'Gradient(#ddd:white:white)', grouping: 'stacked', yaxis: false, backgroundGrid: false } }).draw(); </script>