Is clearance to an electrical panel required to the sides?
The clearance is 36" in front and 30" side-to-side -- but that side-to-side clearance does not have to be centered on the panel as long as both edges are accessible.

Graphically, originally from Mike Holt: