JSFiddle - React, Tailwind, and code Playground

HTML

<link rel="stylesheet" href="http://code.jquery.com/mobile/1.0b3/jquery.mobile-1.0b3.min.css">
<script src="http://code.jquery.com/jquery-1.6.2.min.js"></script>
<script src="http://code.jquery.com/mobile/1.0b3/jquery.mobile-1.0b3.min.js"></script>
<script src="http://dygraphs.com/dygraph-combined.js"></script>
<!DOCTYPE html> 
<html> 
    <head> 
        <meta charset="utf-8"> 
        <title>Test</title> 
    </head> 
    <body>        
        <div data-role="page" id="a">
            <div data-role="header">
                <h1>Test</h1>
            </div>
            <div data-role="content" id="content">
                <div style="width:300px; height:300px;" id="graphdiv"></div>
                <div style="width:300px; height:300px;" id="graphdiv"></div>
            </div>
        </div>
    </body>
</html>

JavaScript

$(document).ready(function() {
     g = new Dygraph(

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

    // CSV or path to a CSV file.
    "Date,Temperature\n" +
    "2008-05-07,75\n" +
    "2008-05-08,70\n" +
    "2008-05-09,80\n"

  );

});