code: function newValue(adjustedValue) {
            return value.map(function(d, j) {
              if (value.length === 2) {
                return j === i
                  ? i === 0
                    ? Math.min(adjustedValue, alignedValue(value[1]))
                    : Math.max(adjustedValue, alignedValue(value[0]))
                  : d;
              } else {
                return j === i ? adjustedValue : d;
              }
            });
          }
docs: TODO: Don't need to loop over value because we know which element needs to change