문제

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