Three people were electrocuted and five others were injured on Friday evening after coming in contact with a live wire while erecting a tin shed in UP's Deoria district, officials said. District Magistrate Divya Mittal said the incident occurred in Janua village when a group of villagers were helping install a tin shed and it accidentally touched an overhead electric wire.