Is there any way round the CORS error I'm getting?
I am writing a course on d3. I want students to be able to load JSON, CSV and other data to their webpage. They are instructed to open their html pages locally, by right clicking and going Open With > Browser (i.e. no server). I get the CORS error when I load the data as a gist on github and try to load it. I'm also getting the error when I store the file locally in the same folder as the webpage, and serve it that way. The latter one surprises me as the webpage and the data are coming from the same location.
This is fake data given to students for development purposes only. Is there any way to change settings on github for dev files or is there some way of doing this locally?
Thanks Emma