Built with blockbuilder.org
There is NO WAY I'm claiming credit for this. Not cause it's bad but because it works and someone else sorted it out. In fact it was Gregor Aisch who did so. Here's the link: /gka/17ee676dc59aa752b4e6
So feel free to play with it. The liscense is as always: if you do something cool with this code please let me know so I can learn more and give you a high five, or not if you're not into random stranger high fives. :/
Modified http://d3js.org/d3.v3.min.js to a secure url
Updated missing url https://rawgit.com/gka/d3-jetpack/master/d3-jetpack.js to https://cdn.jsdelivr.net/npm/d3-jetpack@1.0.2/d3-jetpack.js
https://d3js.org/d3.v3.min.js
https://rawgit.com/gka/d3-jetpack/master/d3-jetpack.js