xxxxxxxxxx
<html>
<head>
<meta charset="utf-8">
<style>
body {
margin: 0;
}
canvas {
float: left;
clear: left;
}
</style>
</head>
<body>
<script src="https://d3js.org/d3.v3.min.js"></script>
<script src="canvas.js"></script>
<script>d3.select(self.frameElement).style("height", "140px")</script>
</body>
</html>
Modified http://d3js.org/d3.v3.min.js to a secure url
https://d3js.org/d3.v3.min.js