From the graph, we can see that there are 4 points of intersection with the x-axis. Each of them represents a root of the polynomial of the graph.
This means that the polynomial should be at least 4th order for this to be possible.
We conclude that:
Smallest possible degree = 4