Yes it obeys Hooke's law. It seems strange because we usually use force against extension graph, however in this graph axis are reversed and it uses length instead of extension, so you can see from the graph that original length is 40 cm. with that in mind you should notice there is a linear relationship between force and extension which implies that this spring obeys Hooke's law.