Accepted answer

Thank you to everyone for your help, it was actually my naivete that was causing the problem, the way the script was being called was running the d3 draw code and then inside the script my colleague who wrote it was also calling the script after the function.

Just by removing all calls from the script and then calling the startDrawing() function in a script tag below the script tag where it is loaded means it is only drawn once.


You need to add the mimetypes in order for Azure to tell clients what to do with the files when it gets them.

If you add this to your web.config, it should work...

         <remove fileExtension=".svg"/>
         <mimeMap fileExtension=".svg" mimeType="image/svg+xml" />

Related Query

More Query from same tag