SVG and script issue (d3 embed)

Hello everyone; I am struggling to figure how weblfow works when it comes to embed custom code: I am trying to display a network graph that is generated in d3, when I do it locally it works perfectly with my code being hosted online:

Now when i do the same thing within webflow it gets messy. I removed the head and body tags of the page and added the custom css in the webflow page but couldnt for the love of me display anything in the SVG tags as I do locally.

Here is the published version in webflow:
https://logicalclocks-dev-5eb58d1edd2d442ce0bb5.webflow.io/experiments

Did try to move the script html around with no effects either.


Hi Aleksejs,

Where are you able to find a solution to your problem? I’m having similar issues with displaying D3 in my website.