I asked AI to adjust the numbers based on population size and I got this:
When adjusted for population size, heat deaths in Europe are more deadly per capita than gun deaths in the United States. The rate of heat-related deaths in Europe is approximately 1.7 times higher than the rate of gun deaths in the US.