I just downloaded d3 on my mac and started exploring the examples inside the folder by opening them in firefox. Most of them are working fine except bundle maps. Could any one please help me what is going on ?

有帮助吗?

解决方案

I had this problem when I didn't simulate a web server on my machine where I put the code (like MAMP or XAMP). Try using MAMP and put the code in the htdocs folder.

其他提示

If you're referring to this example, it uses XHR to get the JSON data to generate the graph, and that would result in an error due to attempting to access a local resource on your machine.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top