D3.js loading local data file from file:///
d3.js
Solution
You can by disabling the respective security mechanisms in your browser. I think it works in Opera by default, and you can start Chrome with the `--allow-file-access-from-files` command line flag to allow loading data from `file://`.
Problem
I know that D3.js supports loading data files with XHR and JSONP requests. However in my case, I am going to run .html files by double clicking on them from filesystem, which is going to run it like `file://.../foo.html` on browser. Is it possible to load data file (csv or json) within the same directory from computer as `foo.html` on browser (while not running on `http://` but `file://`)?