A simple template for blocks gists. Replace the code, drop a new 230x120 png, and of course update this README. After updating, look for the result on the blocks account page.
xxxxxxxxxx
<meta charset="utf-8">
<style>
/* css goes here */
body {
font: 40px sans-serif;
}
div#target {
text-align: center;
background-color: lightblue;
}
</style>
<body>
<script src="https://d3js.org/d3.v3.min.js"></script>
<div id="target">
<!-- d3 goodness here -->
</div>
<script>
/* d3.js code goes here */
d3.select("#target")
.style("width", "230px")
.style("height", "120px")
.selectAll("div")
.data(["hello", "world"])
.enter().append("div")
.text(function(d) { return d; });
</script>
Modified http://d3js.org/d3.v3.min.js to a secure url
https://d3js.org/d3.v3.min.js