3 ответов
+ 4
You can set up a local server on Mac using this example https://discussions.apple.com/docs/DOC-3083 local servers are very convenient for development purposes.
+ 3
Look at Bottle, it's a lightweight library for simple web server ( not for production ): he give a good preview of what you can manage with more powerfull web server frameworks like Django :)
0
I finally just used the simple webserver using Python for D3 v4.
Just needed the "python -m http.server" command and put the html and json files in the same directory.
Thanks for your help!