How glass shatters
Temperature will not have any effect on how glass shatters.
Glass is made by melting sand or silica at over 2300°C and allowing the molten liquid to cool down rapidly. The addition of other substances like sodium carbonate to the sand, helps to lower the melting temperature to about 1500°C.
Glass is a hard and solid material but it is also very brittle and fragile. It can easily break into small and sharp pieces. Glass molecules do not have a proper crystalline structure and are arranged loosely. This random structure allows visible light to pass through, making the glass transparent. However, both light and heat are able to pass through glass thereby reducing the lighting cost but increasing the cooling costs.
One of the reasons that glass breaks easily is the loose arrangement of molecules. The random arrangement of these molecules makes glass brittle and crack when stress is applied. Another reason for glass to break easily is the uneven distribution of surface temperature. Unbalanced expansion and contraction causes surface tensions and makes the glass crack.
Be extremely careful when handling sharp broken glass pieces, to prevent injuries. As the glass shatters, splinters/shards may fly in all directions. You should ensure that the experiment is conducted in a safe location, by a qualified adult, wearing protective gear/clothing.