A function relates an input to an output.
A function is a relation from a set of inputs to a set of possible outputs where each input is related to exactly one output.
From the graph given, all the inputs have more than one output.
Thus, it is not a function.