JSFiddle - React, Tailwind, and code Playground

HTML

<script src="https://cdnjs.cloudflare.com/ajax/libs/dygraph/1.1.0/dygraph-combined-dev.js"></script>
<div id="graphdiv"></div>

JavaScript

g = new Dygraph(

    // containing div
    document.getElementById("graphdiv"),

    // CSV or path to a CSV file.
    "Departments,2012 Actual,2013 Actual\n"+
    "Public Works,157935662,146629588\n" +
    "Police,50,150"      ,
	{
		title: 'Fort Lauderdale Budget Data',
        axes: {
            x: {
                valueFormatter: function(x) {
                    return 'text';
                },
                axisLabelFormatter: function(x) {
                    return x; 
                },
            },
        }	
	}
  );