code: function update(paths){
      paths.attr("transform", function(d){
        var smaller_dim = Math.min(d.d3plus.width, d.d3plus.height);
        var scale = Math.floor(smaller_dim / 16);
        return "scale("+scale+")";
      })
    }
docs: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Change scale of check on update. ---------------------------------------------------------------------------