title: D3 samples in a Microsoft Stack
body: <p>We're trying to get familiar with D3 (<a href="http://d3js.org/" rel="nofollow">http://d3js.org/</a>), in particular samples such as <a href="http://bl.ocks.org/mbostock/3306362" rel="nofollow">http://bl.ocks.org/mbostock/3306362</a> and <a href="http://bl.ocks.org/mbostock/2206590" rel="nofollow">http://bl.ocks.org/mbostock/2206590</a>. It seems all these samples use local file IO to load geolocation info. The following code snippets are common:</p>
  
  <pre><code>queue()
  .defer(d3.json, "/mbostock/raw/4090846/us.json")
  .defer(d3.tsv, "unemployment.tsv")
  .await(ready)
  </code></pre>
  
  <p>while other samples often use this signature to load data:</p>
  
  <pre><code>d3.json("someJSONFile.json", function(error, uk) {
  console.log(uk);
  });
  </code></pre>
  
  <p>We've created several local html files to test out the samples, but we're running into security issues. It's apparent the script is accessing a local file, which is really giving us problems in a Microsoft stack (Apple or Linux isn't an option at this time, though we have tried Chrome, with no success). How can we enable the html file or refactor the script to have access to the local files? </p>