Modified and working version of John Berryman's attempt to add templating to d3.js using ICanHaz.js and innersvg polyfill. Solved based on this stackoverflow.com answers
Modified http://mbostock.github.com/d3/d3.v2.js to a secure url
https://mbostock.github.com/d3/d3.v2.js