Uncaught TypeError: svg.attr is not a function
at resize (plot.js:36)
at d3.v3.min.js:1
Seems to have something to do with the way the callback is receiving the svg object. It might be necessary to get the svg object into the resize function's closure.
On resize now, a JS error reports:
Seems to have something to do with the way the callback is receiving the svg object. It might be necessary to get the
svg
object into theresize
function's closure.