A SVG map with the laws regarding homeschooling worldwide
Own work. Based on File:BlankMap-World-Microstates.svg. 
Main sources: 

Home School Legal Defense Association–International Law. HSLDA. Retrieved on 2021-09-20.Additional sources used in creating this map:

Canada: Legal, regulating conditions vary by province.[1]
China: Generally illegal.[2]
Denmark: Legal, heavily regulated.[3]Greenland: Illegal.[4]
Iceland: Legal only for holders of teaching certificates, in other cases public education is mandatory.[5]
Norway: Legal, heavily regulated.[6]
Sweden: Illegal.[7]
↑ The Ontario Federation of Teaching Parents » Homeschooling FAQ. ontariohomeschool.org.

↑ Compulsory Education Law of the People’s Republic of China. Ministry of Education of the People's Republic of China (2009-07-23). Retrieved on 2021-09-20.

↑ Homeschooled children in Denmark - statistics. frilæring.dk.

↑ Atuarfitsialak Engelsk. fleksibelskole.dk.

↑ Reglugerð um heimakennslu á grunnskólastigi. (in is). Reglugerðasafn. Retrieved on 2021-09-20.

↑ Act relating to Primary and Secondary Education and Training (the Education Act). Lovdata (1998-07-17). Retrieved on 2021-09-20.

↑ Skollag (2010:800) Svensk författningssamling 2010:2010:800 t.o.m. SFS 2021:452 (in sv). Riksdagen (2014-12-11). Retrieved on 2021-09-20.
Source file: Homeschooling legality.png
This file: Svenskbygderna (talk)