Things are not so free in Germany and Sweden, where your child must attend state education and home education is illegal.
State education (in its modern form) is a Prussian invention, so not surprising that Germany is like that. (You can see in the submitted chart that Germany is the first to pass a compulsory primary education law.)