I am learning Dygraphs and I am trying to test the sample code on https://dygraphs.com/tutorial.html. The first example with embedded data works perfectly just the same as the graph on the web page. Unfortunately, the second example does not draw anything except the coordinate looks like the figure below. What was wrong with it? (note: I just copied the html code from the page and downloaded files dygraph.css and dygraph.js and placed them in the same folder).
An empty coordinate of a dygraphs example, no drawing for data from a .csv file:

I solved the problem by changing "temperatures.csv" to "https://dygraphs.com/temperatures.csv". which means, the local folder does not meet the requirement of "a location accessible via XMLHttpRequests. The original sample works fine because the csv file and the index.html both are on a web server.