xxxxxxxxxx
<html>
<head>
<script type="text/javascript" src="https://cdn.jsdelivr.net/gh/mbostock/d3/v2.4.3/d3.js"></script>
<script type="text/javascript" src="https://x3dom.org/x3dom/example/x3dom.js"></script>
</head>
<body>
</body>
<script type="text/javascript">
d3.ns.prefix.x3da="https://www.web3d.org/specifications/x3d-namespace"
x3d = d3.select("body")
.append("x3d:x3d")
.attr("height","500px")
.attr("width","100%");
scene = x3d.append("x3d:scene")
box= scene.append("x3d:shape")
.append("x3d:box")
</SCRIPT>
</html>
Updated missing url https://raw.github.com/mbostock/d3/v2.4.3/d3.js to https://cdn.jsdelivr.net/gh/mbostock/d3/v2.4.3/d3.js
Modified http://x3dom.org/x3dom/example/x3dom.js to a secure url
https://raw.github.com/mbostock/d3/v2.4.3/d3.js
https://x3dom.org/x3dom/example/x3dom.js