If that was electricity there would be a ''bzzt'' or ''zapp'' or whatever sound effect, but there is none. So i don't think it's electricity.
That wasn't a meaningless visual choice, Sanji increased heat with the hatred he had towards Judge, increasing the heat of his DJ to the point it changed form and was ''star shaped''.