Can someone explain to me why I keep getting this error message:
XMLHttpRequest cannot load http://mesonet.agron.iastate.edu/iemre/multiday/2013-04-01/2013-04-12/42.54/-96.40/json. Origin ------------ is not allowed by Access-Control-Allow-Origin.
But I can access the data with this URL: http://mesonet.agron.iastate.edu/iemre/multiday/2013-04-01/2013-04-12/42.54/-96.40/json
d3.json("http://mesonet.agron.iastate.edu/iemre/multiday/2013-04-01/2013-04-12/42.54/-96.40/json", function(error, json) {
if (error) return console.warn(error);
data = json;
Is this not the appropriate way load an external json file using d3?