title: Reading a .csv file for dygraphs javascript plotting library
body: <p>I am completely new to web development and thus this may sound extremely dumb but still. My aim is to plot a csv file located either on my server, or in a specific URL. The javascript library I discovered that can do this is dygraphs.
  What I am trying to do is just re-create  the example they give at their site:</p>
  
  <pre><code>&lt;html&gt;
  &lt;head&gt;
  &lt;script type="text/javascript"
    src="dygraph-combined-dev.js"&gt;&lt;/script&gt;
  &lt;/head&gt;
  &lt;body&gt;
  &lt;div id="graphdiv2"
    style="width:500px; height:300px;"&gt;&lt;/div&gt;
  &lt;script type="text/javascript"&gt;
    g2 = new Dygraph(
      document.getElementById("graphdiv2"),
      "temperatures.csv", // path to CSV file
      {}          // options
    );
  &lt;/script&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>I put this snippet in the same folder as my csv files, and it doesnt work(my csv is named temperatures.csv). Is there any way I can actually do this. Again, I just want to have a nice plot on my website, representing my csv on the server or URL (no idea how)</p>
  
  <p>Thanks</p>