An SVG Waterfall chart using the CSV reader

This is a demo of a Waterfall chart where both the data and the labels are being retrieved from CSV data with the CSV reader. The CSV data is embedded in the page.

Note: For browser security reasons the AJAX demos don't work offline (this demo is using the CSV reader option that reads data that's embedded in the page itself). You can view the demos on the RGraph website here: https://www.rgraph.net/demos/index.html#svg

This goes in the documents header:
<script src="RGraph.svg.common.core.js"></script>
<script src="RGraph.svg.common.csv.js"></script>
<script src="RGraph.svg.bar.js"></script>
Put this where you want the chart to show up:
<div id="klkl" style="display: none">
    8,4,7,-6,-5,-3,14
    Fred,Rich,Gary,Luis,Olga,Pete,Keanu
</div>

<div style="width: 750px; height: 300px" id="chart-container"></div>
    [No canvas support]
</div>
This is the code that generates the chart: