One person was hospitalized Monday after a transformer explosion at a Hartford building, fire officials said.