An SVG Bar chart showing the Darwin Southern Oscillation Index

An example of the Darwin Oscillation index. Whether that's a real thing - who knows! But the chart is a simple one having no background grid, a center X axis and the colors have been created such that positive values have a red color and negative values are colored blue. There's also no marginInner so that the bars appear without a gap between them.

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="width: 750px; height: 300px" id="chart-container"></div>
This is the code that generates the chart: