TrueWill (20) [Avatar] Offline
In the chapter 2 examples, the book (MEAP V03) frequently lists code like

d3.csv("cities.csv", ...

If a reader attempts the examples on their local machine, he or she is likely to see an error similar to

d3.v4.min.js:7 XMLHttpRequest cannot load file:///.../cities.csv. Cross origin requests are only supported for protocol schemes

Could you add a callout or something to address this?

(I ended up using simple-server with node to handle it.)
elijah.meeks (127) [Avatar] Offline
I'm sorry about that, I wouldn't know how you develop with the local file system, I only develop with a local web server running. I'll try to make that more clear that this is the expected dev environment in earlier in the book.
TrueWill (20) [Avatar] Offline
Thank you! smilie